test/pagarme/resources/subscription_test.rb in pagarme-2.2.2 vs test/pagarme/resources/subscription_test.rb in pagarme-2.2.3

- old
+ new

@@ -13,10 +13,10 @@ should 'be able to see subscription transactions' do plan = PagarMe::Plan.create no_trial_plan_params subscription = PagarMe::Subscription.create subscription_with_customer_params(plan: plan) assert_no_trial_subscription_created subscription, plan - sleep 1 + sleep 2 assert subscription.transactions.count > 0 assert_equal subscription.transactions.first.status, 'paid' end should 'be able to create subscription with plan and unsaved card' do