summaryrefslogtreecommitdiffstats
path: root/test/integration/admin_test.rb
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2010-09-29 16:00:45 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2010-09-29 16:00:45 +0000
commitd06a1a7fa47a2c3b02e9d97034e6acaf2dc5a01d (patch)
tree3bf755f3cb143ef68b4d3ec698fed4469ea6fa82 /test/integration/admin_test.rb
parent4853dd97fd5a39eec56155baba8844adcefa9aa4 (diff)
downloadredmine-d06a1a7fa47a2c3b02e9d97034e6acaf2dc5a01d.tar.gz
redmine-d06a1a7fa47a2c3b02e9d97034e6acaf2dc5a01d.zip
Refactor: rename UsersController#add to #new
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4229 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/admin_test.rb')
-rw-r--r--test/integration/admin_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/admin_test.rb b/test/integration/admin_test.rb
index 62ddc533f..dd52859cf 100644
--- a/test/integration/admin_test.rb
+++ b/test/integration/admin_test.rb
@@ -22,9 +22,9 @@ class AdminTest < ActionController::IntegrationTest
def test_add_user
log_user("admin", "admin")
- get "/users/add"
+ get "/users/new"
assert_response :success
- assert_template "users/add"
+ 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"
user = User.find_by_login("psmith")