Skip to content

Commit

Permalink
LTI-401: removed wait_for_mod? from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jfederico committed Jul 24, 2024
1 parent ce864ce commit 5fc0d13
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions spec/controllers/rooms_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@
describe 'meeting configurations' do
context 'wait for moderators' do
it 'redirects the user to the wait page' do
allow_any_instance_of(BbbHelper).to(receive(:wait_for_mod?).and_return(true))
allow_any_instance_of(BbbHelper).to(receive(:meeting_running?).and_return(false))

post :meeting_join, params: { id: @room.id }
Expand All @@ -215,7 +214,6 @@

context 'all moderators' do
it 'allows any user to start the meeting' do
allow_any_instance_of(BbbHelper).to(receive(:wait_for_mod?).and_return(false))
allow_any_instance_of(BbbHelper).to(receive(:meeting_running?).and_return(false))
allow_any_instance_of(BbbHelper).to(receive(:join_meeting_url).and_return('bbb.example.com'))

Expand Down

0 comments on commit 5fc0d13

Please sign in to comment.