Refactor: rename UsersController#add to #new

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4229 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis
2010-09-29 16:00:45 +00:00
parent 4853dd97fd
commit d06a1a7fa4
7 changed files with 12 additions and 13 deletions
+2 -2
View File
@@ -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")