Fixes test according to r4493.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4498 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/351/head
Jean-Philippe Lang 14 years ago
parent 2066b2f666
commit 87ae744dce
  1. 2
      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

Loading…
Cancel
Save