summaryrefslogtreecommitdiff
path: root/billing/test/factories.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-07-02 12:02:05 +0200
committerAzul <azul@leap.se>2013-07-17 10:47:14 +0200
commit82f58b469fa48ca54cbc283685021a2502cf1dd1 (patch)
treed0a79297f0545e248425956ed65c0d027d574d99 /billing/test/factories.rb
parent1c40963194aa6f1dc985b949fb3c05e70f7530c0 (diff)
billing: functional tests reveal issue with customer.braintree_customer
Diffstat (limited to 'billing/test/factories.rb')
-rw-r--r--billing/test/factories.rb4
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