From a06ba9159688b72eabdbef209068950a15da3c50 Mon Sep 17 00:00:00 2001 From: Zachary Chai Date: Tue, 31 Jan 2017 11:08:21 -0500 Subject: [PATCH] fix tests --- test/controllers/landing_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/controllers/landing_controller_test.rb b/test/controllers/landing_controller_test.rb index bdb4ac76..4a698af5 100644 --- a/test/controllers/landing_controller_test.rb +++ b/test/controllers/landing_controller_test.rb @@ -39,12 +39,12 @@ class LandingControllerTest < ActionController::TestCase end test "should get wait for moderator" do - get :wait_for_moderator, params: { id: @user.encrypted_id, resource: 'rooms' } + get :wait_for_moderator, params: { room_id: @user.encrypted_id, id: 'room1', resource: 'rooms' } assert_response :success end test "should get session status refresh" do - get :wait_for_moderator, params: { id: @user.encrypted_id, resource: 'rooms' } + get :wait_for_moderator, params: { room_id: @user.encrypted_id, id: 'room1', resource: 'rooms' } assert_response :success end