mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 11:58:33 +08: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