forked from External/greenlight
GRN-59: Implemented pagination on the API call (#370)
* Added the env variable and functionality to paginate the call to the bbbapi * Update user.rb
This commit is contained in:
committed by
Jesus Federico
parent
ab6655554c
commit
3195bb4429
@ -153,5 +153,14 @@ describe Room, type: :model do
|
||||
playbacks: %w(presentation),
|
||||
)
|
||||
end
|
||||
|
||||
it "deletes the recording" do
|
||||
allow_any_instance_of(BigBlueButton::BigBlueButtonApi).to receive(:delete_recordings).and_return(
|
||||
returncode: true, deleted: true
|
||||
)
|
||||
|
||||
expect(@room.delete_recording(Faker::IDNumber.valid))
|
||||
.to contain_exactly([:returncode, true], [:deleted, true])
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user