Skip to content

Commit

Permalink
feat: rubocop happy
Browse files Browse the repository at this point in the history
  • Loading branch information
brunomiguelpinto committed Sep 10, 2024
1 parent 060a158 commit 6ce2162
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@

context 'when all customer details are present' do
it 'creates a customer with company_name, given_name, and family_name' do
expect(gocardless_customers_service).to receive(:create).with(
gocardless_service.create
expect(gocardless_customers_service).to have_received(:create).with(
hash_including(
email: customer.email,
company_name: customer.name,
given_name: customer.firstname,
family_name: customer.lastname
)
)
gocardless_service.create
end
end

Expand Down

0 comments on commit 6ce2162

Please sign in to comment.