rubocop --fix does not pick this up

This commit is contained in:
Rimian Perkins 2019-09-15 22:11:39 +10:00
parent 910e08e4c9
commit 9e2d3551e0
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ module DiscoursePatrons
end
it 'has the user id' do
::Stripe::PaymentIntent.expects(:create).with(has_entry(:metadata, { user_id: current_user.id })).returns(payment)
::Stripe::PaymentIntent.expects(:create).with(has_entry(:metadata, user_id: current_user.id)).returns(payment)
post :create, params: {}, format: :json
expect(response).to have_http_status(200)
end