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

View File

@@ -107,14 +107,14 @@ class UsersControllerTest < ActionController::TestCase
assert project_ids.include?(2) #private project admin can see
end
context "GET :add" do
context "GET :new" do
setup do
get :add
get :new
end
should_assign_to :user
should_respond_with :success
should_render_template :add
should_render_template :new
end
context "POST :create" do
@@ -148,7 +148,7 @@ class UsersControllerTest < ActionController::TestCase
should_assign_to :user
should_respond_with :success
should_render_template :add
should_render_template :new
end
end