Skip to content

Commit

Permalink
one of many
Browse files Browse the repository at this point in the history
Signed-off-by: Hermann Mayer <hermann.mayer92@gmail.com>
  • Loading branch information
Jack12816 committed Jul 8, 2024
1 parent b19ed19 commit 2e5abbe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion spec/billomat/configuration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
end

it 'raises an error when assigned a non proc' do
expect { configuration.after_response = :foo }.to raise_error(ArgumentError)
expect { configuration.after_response = :foo }.to \
raise_error(ArgumentError)
end
end
end
2 changes: 1 addition & 1 deletion spec/billomat/gateway_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

context 'without a body' do
it 'only returns the original error message' do
expect(error.to_s).to be_eql('RestClient::Exception')
expect(error.to_s).to eql('RestClient::Exception')
end
end
end
Expand Down
4 changes: 2 additions & 2 deletions spec/billomat/models/base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
end

it 'allows to access the data easily (#id)' do
expect(base.id).to be_eql(123)
expect(base.id).to be(123)
end

it 'allows to access the data easily (#foo)' do
expect(base.foo).to be_eql('bar')
expect(base.foo).to eql('bar')
end
end

Expand Down

0 comments on commit 2e5abbe

Please sign in to comment.