Commit d03ee57c65f3950d4bffb38a9806c1630bf235c5
1 parent
e1e9b53a
Exists in
master
and in
22 other branches
forgot-password-integration-test: fix params format
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/integration/forgot_password_test.rb
| ... | ... | @@ -19,7 +19,7 @@ class ForgotPasswordTest < ActionController::IntegrationTest |
| 19 | 19 | assert_response :success |
| 20 | 20 | assert_tag :tag => 'form', :attributes => { :action => '/account/forgot_password', :method => 'post' } |
| 21 | 21 | |
| 22 | - post '/account/forgot_password', :change_password => { :field => 'login', :value => 'forgotten', :environment_id => Environment.default.id } | |
| 22 | + post '/account/forgot_password', :field => 'login', :value => 'forgotten', :environment_id => Environment.default.id | |
| 23 | 23 | |
| 24 | 24 | assert_response :success |
| 25 | 25 | assert_template 'password_recovery_sent' |
| ... | ... | @@ -52,7 +52,7 @@ class ForgotPasswordTest < ActionController::IntegrationTest |
| 52 | 52 | assert_response :success |
| 53 | 53 | assert_tag :tag => 'form', :attributes => { :action => '/account/forgot_password', :method => 'post' } |
| 54 | 54 | |
| 55 | - post '/account/forgot_password', :change_password => { :field => 'email', :value => 'forgotten@localhost.localdomain', :environment_id => Environment.default.id } | |
| 55 | + post '/account/forgot_password', :field => 'email', :value => 'forgotten@localhost.localdomain', :environment_id => Environment.default.id | |
| 56 | 56 | |
| 57 | 57 | assert_response :success |
| 58 | 58 | assert_template 'password_recovery_sent' | ... | ... |