summaryrefslogtreecommitdiff
path: root/test/unit/token_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/token_test.rb')
-rw-r--r--test/unit/token_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/token_test.rb b/test/unit/token_test.rb
index dcf3fc4..51c8d8e 100644
--- a/test/unit/token_test.rb
+++ b/test/unit/token_test.rb
@@ -4,7 +4,7 @@ class TokenTest < ActiveSupport::TestCase
include StubRecordHelper
setup do
- InviteCodeValidator.any_instance.stubs(:not_existent?).returns(false)
+ InviteCodeValidator.any_instance.stubs(:validate)
@user = find_record :user
end