From: Jean-Philippe Lang Date: Sun, 12 Dec 2010 14:43:55 +0000 (+0000) Subject: Fixes test according to r4493. X-Git-Tag: 1.1.0~98 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=87ae744dce313076211ff472eb95edb65a048c82;p=redmine.git Fixes test according to r4493. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4498 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/integration/admin_test.rb b/test/integration/admin_test.rb index 1600f89bd..af44d5226 100644 --- a/test/integration/admin_test.rb +++ b/test/integration/admin_test.rb @@ -25,7 +25,7 @@ class AdminTest < ActionController::IntegrationTest get "/users/new" assert_response :success assert_template "users/new" - post "/users/create", :user => { :login => "psmith", :firstname => "Paul", :lastname => "Smith", :mail => "psmith@somenet.foo", :language => "en" }, :password => "psmith09", :password_confirmation => "psmith09" + post "/users/create", :user => { :login => "psmith", :firstname => "Paul", :lastname => "Smith", :mail => "psmith@somenet.foo", :language => "en", :password => "psmith09", :password_confirmation => "psmith09" } user = User.find_by_login("psmith") assert_kind_of User, user