diff options
author | ankonym <ankonym@gmail.com> | 2015-08-13 17:24:31 +0200 |
---|---|---|
committer | ankonym <ankonym@gmail.com> | 2015-09-28 15:12:45 +0200 |
commit | 8b5665b857edc460ef6105c3ba0f106dd99a25d5 (patch) | |
tree | 11ce426d18b60965c5128feb13f958f3b2dd0253 /test/functional/v1 | |
parent | 8b9b2a0c3c8457024d99d0794416c59cb245a513 (diff) |
Fix test based on actual invite code validation
Diffstat (limited to 'test/functional/v1')
-rw-r--r-- | test/functional/v1/messages_controller_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/v1/messages_controller_test.rb b/test/functional/v1/messages_controller_test.rb index 6f7ea5d..455eebd 100644 --- a/test/functional/v1/messages_controller_test.rb +++ b/test/functional/v1/messages_controller_test.rb @@ -3,6 +3,7 @@ require 'test_helper' class V1::MessagesControllerTest < ActionController::TestCase setup do + InviteCodeValidator.any_instance.stubs(:not_existent?).returns(false) @user = FactoryGirl.build(:user) @user.save @message = Message.new(:text => 'a test message') |