summaryrefslogtreecommitdiff
path: root/test/functional/v1
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/v1')
-rw-r--r--test/functional/v1/messages_controller_test.rb1
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')