Fix HTTP 500 in /api/v1/emails/check_confirmation
(#25595)
This commit is contained in:
parent
cea9db5a0b
commit
4fe2d7cb59
2 changed files with 9 additions and 0 deletions
|
@ -130,5 +130,13 @@ RSpec.describe Api::V1::Emails::ConfirmationsController do
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
context 'without an oauth token and an authentication cookie' do
|
||||
it 'returns http unauthorized' do
|
||||
get :check
|
||||
|
||||
expect(response).to have_http_status(401)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue