GRN2-xx: Allowed file types now matches BigBlueButton (#1966)

* Allowed file types now matches BigBlueButton

* Uppercased file types are now allowed

* Rubocop
This commit is contained in:
Ahmad Farhat
2020-08-04 10:35:07 -04:00
committed by GitHub
parent 35c82f9c17
commit 0710c569b7
7 changed files with 6 additions and 5 deletions

View File

@ -821,7 +821,7 @@ describe RoomsController, type: :controller do
before do
@user = create(:user)
@file = fixture_file_upload('files/sample.pdf', 'application/pdf')
@invalid_file = fixture_file_upload('files/invalid.jpg', 'image/jpg')
@invalid_file = fixture_file_upload('files/invalid.bmp', 'image/bmp')
allow(Rails.configuration).to receive(:preupload_presentation_default).and_return("true")
end