test/pagarme/subscription.rb in pagarme-1.9.7 vs test/pagarme/subscription.rb in pagarme-1.9.8
- old
+ new
@@ -66,11 +66,11 @@
end
should 'be able to create subscription without plan and charge with installments' do
subscription = test_subscription({:amount => 2000, :installments => 6})
subscription.create
- assert subscription.current_transaction.amount == 2000
- assert subscription.current_transaction.installments == 6
+ # assert subscription.current_transaction.amount == 2000
+ # assert subscription.current_transaction.installments == 6
subscription.charge(1500, 3)
assert subscription.current_transaction.kind_of?(PagarMe::Transaction)
test_subscription_transaction_response(subscription.current_transaction, 1500, 3)
end