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:
parent
81c0092326
commit
85c5bb4ea4
@ -129,7 +129,7 @@ describe UploadsController do
|
||||
|
||||
Jobs.expects(:enqueue).never
|
||||
|
||||
message = MessageBus.track_publish do
|
||||
message = MessageBus.track_publish("/uploads/avatar") do
|
||||
post :create, params: { file: text_file, type: "avatar", format: :json }
|
||||
end.first
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user