summaryrefslogtreecommitdiff
path: root/billing/test/factories.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-07-01 09:55:54 +0200
committerAzul <azul@leap.se>2013-07-17 10:47:14 +0200
commita49c63eb117abf47ca1804493c25ae34804f8ee1 (patch)
tree4393c57948fecc23cbdf4f91051768bd8c4d5c3a /billing/test/factories.rb
parentd3e4489cc4833c196eeef77f4fe0680c3f7e7a09 (diff)
test non braintree parts of customer, validate user
Diffstat (limited to 'billing/test/factories.rb')
-rw-r--r--billing/test/factories.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/billing/test/factories.rb b/billing/test/factories.rb
new file mode 100644
index 0000000..8648847
--- /dev/null
+++ b/billing/test/factories.rb
@@ -0,0 +1,11 @@
+FactoryGirl.define do
+
+ factory :customer do
+ user
+
+ factory :braintree_customer do
+ braintree_customer_id { 1 }
+ end
+ end
+
+end