Commit 31cfe031c87d366c4a017d476ec5209436831a41
1 parent
58219747
Exists in
master
and in
28 other branches
account-controller-test: must be logged to access change_password
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
test/functional/account_controller_test.rb
@@ -177,6 +177,7 @@ class AccountControllerTest < ActionController::TestCase | @@ -177,6 +177,7 @@ class AccountControllerTest < ActionController::TestCase | ||
177 | end | 177 | end |
178 | 178 | ||
179 | def test_should_display_change_password_screen | 179 | def test_should_display_change_password_screen |
180 | + login_as 'johndoe' | ||
180 | get :change_password | 181 | get :change_password |
181 | assert_response :success | 182 | assert_response :success |
182 | assert_template 'change_password' | 183 | assert_template 'change_password' |