forked from External/greenlight
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:
@ -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
|
||||
|
||||
|
BIN
spec/fixtures/files/invalid.bmp
vendored
Normal file
BIN
spec/fixtures/files/invalid.bmp
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 45 KiB |
BIN
spec/fixtures/files/invalid.jpg
vendored
BIN
spec/fixtures/files/invalid.jpg
vendored
Binary file not shown.
Before Width: | Height: | Size: 100 KiB |
Reference in New Issue
Block a user