improve Stripe error rescue. modify tests.

This commit is contained in:
Rishabh Saxena 2016-07-28 20:42:04 +05:30
parent 52c30af642
commit 1f9338735c
6 changed files with 43 additions and 36 deletions

View file

@ -2,8 +2,7 @@ FactoryGirl.define do
factory :payment do
user
conference
last4 '4242'
authorization_code '1234567890'
amount 10
status 'unpaid'
amount 1000
end
end