summaryrefslogtreecommitdiff
path: root/test/unit/tmp_user_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/tmp_user_test.rb')
-rw-r--r--test/unit/tmp_user_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/tmp_user_test.rb b/test/unit/tmp_user_test.rb
index 55b117f..9494377 100644
--- a/test/unit/tmp_user_test.rb
+++ b/test/unit/tmp_user_test.rb
@@ -2,6 +2,10 @@ require 'test_helper'
class TmpUserTest < ActiveSupport::TestCase
+ setup do
+ InviteCodeValidator.any_instance.stubs(:validate)
+ end
+
test "test_user saved to tmp_users" do
begin
assert User.ancestors.include?(TemporaryUser)