Use raw status code on have_http_status (#7214)
This commit is contained in:
parent
bfe26ef67b
commit
d10447c3a8
87 changed files with 176 additions and 176 deletions
|
@ -18,7 +18,7 @@ describe Settings::TwoFactorAuthenticationsController do
|
|||
user.update(otp_required_for_login: true)
|
||||
get :show
|
||||
|
||||
expect(response).to have_http_status(:success)
|
||||
expect(response).to have_http_status(200)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -27,7 +27,7 @@ describe Settings::TwoFactorAuthenticationsController do
|
|||
user.update(otp_required_for_login: false)
|
||||
get :show
|
||||
|
||||
expect(response).to have_http_status(:success)
|
||||
expect(response).to have_http_status(200)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue