mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
Fix randomly failing spec.
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user