Skip to content

Commit

Permalink
Fix warning about expecting a raised error
Browse files Browse the repository at this point in the history
  • Loading branch information
phylor committed Aug 21, 2023
1 parent 1256e15 commit f532d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ioki/endpoints/endpoint_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Bread < Base
it 'succeeds with required arguments' do
expect do
described_class.new('bread', action: 'get', request_method: :get, path: ['bakery'])
end.not_to raise_error ArgumentError
end.not_to raise_error
end
end

Expand Down

0 comments on commit f532d05

Please sign in to comment.