diff options
author | ankonym <ankonym@gmail.com> | 2015-09-01 10:48:25 +0200 |
---|---|---|
committer | ankonym <ankonym@gmail.com> | 2015-09-28 15:12:45 +0200 |
commit | c48e921c101d49bf68fa1af489b8012517b1a105 (patch) | |
tree | 78cc0754a9e24c805e8dc5cf4c2af4e204752af3 /engines/billing | |
parent | 06ebc254bc4537e81c1336627ba8a54c881a1765 (diff) |
Fix several test failures by stubbing invite code validation
Diffstat (limited to 'engines/billing')
-rw-r--r-- | engines/billing/test/functional/customers_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/billing/test/functional/customers_controller_test.rb b/engines/billing/test/functional/customers_controller_test.rb index 0dafe72..4d84fb0 100644 --- a/engines/billing/test/functional/customers_controller_test.rb +++ b/engines/billing/test/functional/customers_controller_test.rb @@ -5,7 +5,7 @@ class CustomersControllerTest < ActionController::TestCase tests CustomerController setup do - InviteCodeValidator.any_instance.stubs(:not_existent?).returns(false) + InviteCodeValidator.any_instance.stubs(:validate) @user = FactoryGirl.create :user @other_user = FactoryGirl.create :user #FakeBraintree.clear! |