diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-30 18:22:46 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-30 18:22:46 +0000 |
commit | 86ba692bf5312b37b6e30778d14daf0a675254bb (patch) | |
tree | 6e1f42db58dc520e33c1e464c88840d627b3772f /test/integration/routing_test.rb | |
parent | d06a1a7fa47a2c3b02e9d97034e6acaf2dc5a01d (diff) | |
download | redmine-86ba692bf5312b37b6e30778d14daf0a675254bb.tar.gz redmine-86ba692bf5312b37b6e30778d14daf0a675254bb.zip |
Refactor: split UsersController#edit into #edit and #update
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4230 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/routing_test.rb')
-rw-r--r-- | test/integration/routing_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb index 341efe3cd..030f6b18a 100644 --- a/test/integration/routing_test.rb +++ b/test/integration/routing_test.rb @@ -251,10 +251,11 @@ class RoutingTest < ActionController::IntegrationTest should_route :get, "/users/222/edit/membership", :controller => 'users', :action => 'edit', :id => '222', :tab => 'membership' should_route :post, "/users/new", :controller => 'users', :action => 'create' - should_route :post, "/users/444/edit", :controller => 'users', :action => 'edit', :id => '444' should_route :post, "/users/123/memberships", :controller => 'users', :action => 'edit_membership', :id => '123' should_route :post, "/users/123/memberships/55", :controller => 'users', :action => 'edit_membership', :id => '123', :membership_id => '55' should_route :post, "/users/567/memberships/12/destroy", :controller => 'users', :action => 'destroy_membership', :id => '567', :membership_id => '12' + + should_route :put, "/users/444/edit", :controller => 'users', :action => 'update', :id => '444' end # TODO: should they all be scoped under /projects/:project_id ? |