From c48e921c101d49bf68fa1af489b8012517b1a105 Mon Sep 17 00:00:00 2001 From: ankonym Date: Tue, 1 Sep 2015 10:48:25 +0200 Subject: Fix several test failures by stubbing invite code validation --- test/functional/identities_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/functional/identities_controller_test.rb') diff --git a/test/functional/identities_controller_test.rb b/test/functional/identities_controller_test.rb index c900178..e491c52 100644 --- a/test/functional/identities_controller_test.rb +++ b/test/functional/identities_controller_test.rb @@ -3,7 +3,7 @@ require 'test_helper' class IdentitiesControllerTest < ActionController::TestCase setup do - InviteCodeValidator.any_instance.stubs(:not_existent?).returns(false) + InviteCodeValidator.any_instance.stubs(:validate) end test "admin can list active and blocked ids" do -- cgit v1.2.3