mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 04:08:41 +08:00
Fix randomly failing spec.
This commit is contained in:
@ -129,7 +129,7 @@ describe UploadsController do
|
|||||||
|
|
||||||
Jobs.expects(:enqueue).never
|
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 }
|
post :create, params: { file: text_file, type: "avatar", format: :json }
|
||||||
end.first
|
end.first
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user