Skip to content

Commit

Permalink
[wip]
Browse files Browse the repository at this point in the history
  • Loading branch information
eitoball committed Oct 13, 2022
1 parent 09bf2bd commit 2680b48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/controllers/users_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@

context 'when not sign in' do
before do
get :me
get :me, params: { locale: 'en-US' }
end

it 'return HTTP 401 Unauthorized' do
expect(response).to redirect_to(new_user_session_path)
expect(response).to redirect_to(new_user_session_path(locale: 'en-US'))
end
end

Expand Down

0 comments on commit 2680b48

Please sign in to comment.