Skip to content

Commit

Permalink
rubocop and specs
Browse files Browse the repository at this point in the history
  • Loading branch information
brunomiguelpinto committed May 28, 2024
1 parent c09f246 commit e5dac85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/queries/credit_notes_query_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
credit_note_fourth
end

it 'returns all credit_notes without a customer' do
it 'returns all credit_notes when no customer is provided' do
result = credit_notes_query.call(
search_term: nil,
customer_id: nil,
Expand All @@ -41,7 +41,7 @@
end
end

it 'returns all credit_notes when no customer is provided' do
it 'returns all credit_notes of the customer' do
result = credit_notes_query.call(
search_term: nil,
customer_id: customer.id,
Expand Down

0 comments on commit e5dac85

Please sign in to comment.