Skip to content

Commit 0f42a29

Browse files
committed
temp fix to pass payment tests. Working on refactoring the code so that currency conversion functionality is handled better
1 parent 5fce7e5 commit 0f42a29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/models/payment_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
after { StripeMock.stop }
6262

63-
before { TicketPurchase.purchase(conference, user, tickets) }
63+
before { TicketPurchase.purchase(conference, user, tickets, ticket_1.price_currency) }
6464

6565
context 'when the payment is successful' do
6666
before { payment.purchase }

0 commit comments

Comments
 (0)