Fix failing spec.

This commit is contained in:
Guo Xiang Tan 2018-02-23 11:31:10 +08:00
parent 66062ed6d9
commit ea1733ca64

View File

@ -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)