diff options
author | Azul <azul@leap.se> | 2013-07-02 12:02:05 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-07-17 10:47:14 +0200 |
commit | 82f58b469fa48ca54cbc283685021a2502cf1dd1 (patch) | |
tree | d0a79297f0545e248425956ed65c0d027d574d99 /billing/test/factories.rb | |
parent | 1c40963194aa6f1dc985b949fb3c05e70f7530c0 (diff) |
billing: functional tests reveal issue with customer.braintree_customer
Diffstat (limited to 'billing/test/factories.rb')
-rw-r--r-- | billing/test/factories.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/billing/test/factories.rb b/billing/test/factories.rb index 8314542..87543b2 100644 --- a/billing/test/factories.rb +++ b/billing/test/factories.rb @@ -16,6 +16,10 @@ FactoryGirl.define do credit_card number: TEST_CC_NUMBER, expiration_date: '04/2016' initialize_with { Braintree::Customer.create(attributes).customer } skip_create + + factory :broken_customer do + credit_card number: '123456', expiration_date: '04/2016' + end end end |