diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-10 16:00:49 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-10 16:00:49 +0000 |
commit | 3a2efb47572d198c91a09b1bf92e717b843980ed (patch) | |
tree | 4999fd81509971bf2ee45ba80983b336ce51d551 /test/integration/routing_test.rb | |
parent | 5e1c29523003f697b4ba88998c1c587881785820 (diff) | |
download | redmine-3a2efb47572d198c91a09b1bf92e717b843980ed.tar.gz redmine-3a2efb47572d198c91a09b1bf92e717b843980ed.zip |
Refactor: convert ProjectEnumerations to a resource on a project.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4075 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/routing_test.rb')
-rw-r--r-- | test/integration/routing_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb index 5cd0b2d39..ac75d4d7c 100644 --- a/test/integration/routing_test.rb +++ b/test/integration/routing_test.rb @@ -182,14 +182,14 @@ class RoutingTest < ActionController::IntegrationTest should_route :post, "/projects/33/files/new", :controller => 'files', :action => 'new', :id => '33' should_route :post, "/projects/64/archive", :controller => 'projects', :action => 'archive', :id => '64' should_route :post, "/projects/64/unarchive", :controller => 'projects', :action => 'unarchive', :id => '64' - should_route :post, "/projects/64/activities/save", :controller => 'project_enumerations', :action => 'save', :id => '64' + should_route :put, "/projects/64/enumerations", :controller => 'project_enumerations', :action => 'update', :project_id => '64' should_route :put, "/projects/4223", :controller => 'projects', :action => 'update', :id => '4223' should_route :put, "/projects/1.xml", :controller => 'projects', :action => 'update', :id => '1', :format => 'xml' should_route :delete, "/projects/64", :controller => 'projects', :action => 'destroy', :id => '64' should_route :delete, "/projects/1.xml", :controller => 'projects', :action => 'destroy', :id => '1', :format => 'xml' - should_route :delete, "/projects/64/reset_activities", :controller => 'project_enumerations', :action => 'destroy', :id => '64' + should_route :delete, "/projects/64/enumerations", :controller => 'project_enumerations', :action => 'destroy', :project_id => '64' end context "repositories" do |