summaryrefslogtreecommitdiff
path: root/engines/billing
diff options
context:
space:
mode:
authorankonym <ankonym@gmail.com>2015-08-13 17:24:31 +0200
committerankonym <ankonym@gmail.com>2015-09-28 15:12:45 +0200
commit8b5665b857edc460ef6105c3ba0f106dd99a25d5 (patch)
tree11ce426d18b60965c5128feb13f958f3b2dd0253 /engines/billing
parent8b9b2a0c3c8457024d99d0794416c59cb245a513 (diff)
Fix test based on actual invite code validation
Diffstat (limited to 'engines/billing')
-rw-r--r--engines/billing/test/functional/customers_controller_test.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/billing/test/functional/customers_controller_test.rb b/engines/billing/test/functional/customers_controller_test.rb
index cc82fc1..0dafe72 100644
--- a/engines/billing/test/functional/customers_controller_test.rb
+++ b/engines/billing/test/functional/customers_controller_test.rb
@@ -5,6 +5,7 @@ class CustomersControllerTest < ActionController::TestCase
tests CustomerController
setup do
+ InviteCodeValidator.any_instance.stubs(:not_existent?).returns(false)
@user = FactoryGirl.create :user
@other_user = FactoryGirl.create :user
#FakeBraintree.clear!