diff options
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 |