diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-29 16:00:45 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-29 16:00:45 +0000 |
commit | d06a1a7fa47a2c3b02e9d97034e6acaf2dc5a01d (patch) | |
tree | 3bf755f3cb143ef68b4d3ec698fed4469ea6fa82 /test/functional/users_controller_test.rb | |
parent | 4853dd97fd5a39eec56155baba8844adcefa9aa4 (diff) | |
download | redmine-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/functional/users_controller_test.rb')
-rw-r--r-- | test/functional/users_controller_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb index 6131c7e7d..577f54b07 100644 --- a/test/functional/users_controller_test.rb +++ b/test/functional/users_controller_test.rb @@ -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 |