mirror of
https://github.com/discourse/discourse.git
synced 2025-06-21 00:21:33 +08:00
DEV: Assert for 200 response code to avoid changing magic helper in the future.
This commit is contained in:
@ -76,7 +76,7 @@ describe Admin::EmailController do
|
||||
last_seen_at: 1.week.ago, username: user.username
|
||||
}, format: :json
|
||||
|
||||
expect(response).to be_successful
|
||||
expect(response.status).to eq(200)
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user