mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 23:21:11 +08:00
DEV: Assert for 200 response code to avoid changing magic helper in the future.
This commit is contained in:
@ -59,7 +59,7 @@ describe UserAvatarsController do
|
||||
|
||||
get "/user_avatar/default/#{user.username}/51/#{upload.id}.png"
|
||||
|
||||
expect(response).to be_successful
|
||||
expect(response.status).to eq(200)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user