mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Fix randomly failing spec.
This commit is contained in:
@@ -154,7 +154,7 @@ describe UploadsController do
|
||||
|
||||
message = MessageBus.track_publish do
|
||||
xhr :post, :create, file: fake_jpg, type: "composer"
|
||||
end.first
|
||||
end.find { |m| m.channel == '/uploads/composer' }
|
||||
|
||||
expect(response.status).to eq 200
|
||||
|
||||
|
||||
Reference in New Issue
Block a user