summaryrefslogtreecommitdiff
path: root/test/functional/identities_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/identities_controller_test.rb')
-rw-r--r--test/functional/identities_controller_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/identities_controller_test.rb b/test/functional/identities_controller_test.rb
index fcdeaa2..c900178 100644
--- a/test/functional/identities_controller_test.rb
+++ b/test/functional/identities_controller_test.rb
@@ -2,6 +2,10 @@ require 'test_helper'
class IdentitiesControllerTest < ActionController::TestCase
+ setup do
+ InviteCodeValidator.any_instance.stubs(:not_existent?).returns(false)
+ end
+
test "admin can list active and blocked ids" do
login :is_admin? => true
get :index