mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
This reverts commit 5a8fdd02fe.
This commit is contained in:
committed by
GitHub
parent
061c8874f5
commit
0bf55fe2ff
@@ -266,6 +266,7 @@ describe UploadsController do
|
||||
end
|
||||
|
||||
it 'returns 200 when js file' do
|
||||
ActionDispatch::FileHandler.any_instance.stubs(:match?).returns(false)
|
||||
upload = upload_file("test.js", "themes")
|
||||
get upload.url
|
||||
expect(response.status).to eq(200)
|
||||
|
||||
Reference in New Issue
Block a user