From a49c63eb117abf47ca1804493c25ae34804f8ee1 Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 1 Jul 2013 09:55:54 +0200 Subject: test non braintree parts of customer, validate user --- billing/test/factories.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 billing/test/factories.rb (limited to 'billing/test/factories.rb') 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 -- cgit v1.2.3