diff options
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 |