Fix failing spec.

This commit is contained in:
Guo Xiang Tan 2018-02-23 11:31:10 +08:00
parent 66062ed6d9
commit ea1733ca64
1 changed files with 1 additions and 1 deletions

View File

@ -527,7 +527,7 @@ describe UsersController do
render_views render_views
it 'should return the right response' do 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) expect(response.status).to eq(200)