mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 16:07:03 +08:00
FEATURE: redesign the change password page to use javascript and validations
This commit is contained in:
@ -218,8 +218,8 @@ describe UsersController do
|
||||
it 'disallows login' do
|
||||
expect(assigns[:error]).to be_present
|
||||
expect(session[:current_user_id]).to be_blank
|
||||
expect(assigns[:invalid_token]).to eq(nil)
|
||||
expect(response).to be_success
|
||||
expect(response).to render_template(layout: 'no_ember')
|
||||
end
|
||||
end
|
||||
|
||||
@ -231,8 +231,8 @@ describe UsersController do
|
||||
it 'disallows login' do
|
||||
expect(assigns[:error]).to be_present
|
||||
expect(session[:current_user_id]).to be_blank
|
||||
expect(assigns[:invalid_token]).to eq(true)
|
||||
expect(response).to be_success
|
||||
expect(response).to render_template(layout: 'no_ember')
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user