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
|
@ -47,7 +47,7 @@ describe AuthorizeFollowsController do
|
|||
|
||||
get :show, params: { acct: 'http://example.com' }
|
||||
|
||||
expect(response).to have_http_status(:success)
|
||||
expect(response).to have_http_status(200)
|
||||
expect(assigns(:account)).to eq account
|
||||
end
|
||||
|
||||
|
@ -59,7 +59,7 @@ describe AuthorizeFollowsController do
|
|||
|
||||
get :show, params: { acct: 'acct:found@hostname' }
|
||||
|
||||
expect(response).to have_http_status(:success)
|
||||
expect(response).to have_http_status(200)
|
||||
expect(assigns(:account)).to eq account
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue