From d03ee57c65f3950d4bffb38a9806c1630bf235c5 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Mon, 13 Jan 2014 21:55:17 +0000 Subject: [PATCH] forgot-password-integration-test: fix params format --- test/integration/forgot_password_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/forgot_password_test.rb b/test/integration/forgot_password_test.rb index 116278f..1db566a 100644 --- a/test/integration/forgot_password_test.rb +++ b/test/integration/forgot_password_test.rb @@ -19,7 +19,7 @@ class ForgotPasswordTest < ActionController::IntegrationTest assert_response :success assert_tag :tag => 'form', :attributes => { :action => '/account/forgot_password', :method => 'post' } - post '/account/forgot_password', :change_password => { :field => 'login', :value => 'forgotten', :environment_id => Environment.default.id } + post '/account/forgot_password', :field => 'login', :value => 'forgotten', :environment_id => Environment.default.id assert_response :success assert_template 'password_recovery_sent' @@ -52,7 +52,7 @@ class ForgotPasswordTest < ActionController::IntegrationTest assert_response :success assert_tag :tag => 'form', :attributes => { :action => '/account/forgot_password', :method => 'post' } - post '/account/forgot_password', :change_password => { :field => 'email', :value => 'forgotten@localhost.localdomain', :environment_id => Environment.default.id } + post '/account/forgot_password', :field => 'email', :value => 'forgotten@localhost.localdomain', :environment_id => Environment.default.id assert_response :success assert_template 'password_recovery_sent' -- libgit2 0.21.2