fix tests

This commit is contained in:
Zachary Chai 2017-01-31 11:08:21 -05:00
parent 9a55ac9376
commit a06ba91596
1 changed files with 2 additions and 2 deletions

View File

@ -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