diff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rb index 502efb7e4fc..62a91144417 100644 --- a/spec/controllers/users_controller_spec.rb +++ b/spec/controllers/users_controller_spec.rb @@ -527,7 +527,7 @@ describe UsersController do render_views it 'should return the right response' do - get :admin_login, params: { email: 'random' } + put :admin_login, params: { email: 'random' } expect(response.status).to eq(200)