Mercurial > hg > soundsoftware-site
diff test/integration/.svn/text-base/routing_test.rb.svn-base @ 441:cbce1fd3b1b7 redmine-1.2
Update to Redmine 1.2-stable branch (Redmine SVN rev 6000)
author | Chris Cannam |
---|---|
date | Mon, 06 Jun 2011 14:24:13 +0100 |
parents | 07fa8a8b56a8 |
children |
line wrap: on
line diff
--- a/test/integration/.svn/text-base/routing_test.rb.svn-base Thu Mar 03 11:42:28 2011 +0000 +++ b/test/integration/.svn/text-base/routing_test.rb.svn-base Mon Jun 06 14:24:13 2011 +0100 @@ -91,14 +91,12 @@ should_route :post, "/issues/1/quoted", :controller => 'journals', :action => 'new', :id => '1' should_route :get, "/issues/calendar", :controller => 'calendars', :action => 'show' - should_route :put, "/issues/calendar", :controller => 'calendars', :action => 'update' should_route :get, "/projects/project-name/issues/calendar", :controller => 'calendars', :action => 'show', :project_id => 'project-name' - should_route :put, "/projects/project-name/issues/calendar", :controller => 'calendars', :action => 'update', :project_id => 'project-name' should_route :get, "/issues/gantt", :controller => 'gantts', :action => 'show' - should_route :put, "/issues/gantt", :controller => 'gantts', :action => 'update' + should_route :get, "/issues/gantt.pdf", :controller => 'gantts', :action => 'show', :format => 'pdf' should_route :get, "/projects/project-name/issues/gantt", :controller => 'gantts', :action => 'show', :project_id => 'project-name' - should_route :put, "/projects/project-name/issues/gantt", :controller => 'gantts', :action => 'update', :project_id => 'project-name' + should_route :get, "/projects/project-name/issues/gantt.pdf", :controller => 'gantts', :action => 'show', :project_id => 'project-name', :format => 'pdf' should_route :get, "/issues/auto_complete", :controller => 'auto_completes', :action => 'issues' @@ -197,6 +195,14 @@ should_route :delete, "/projects/1.xml", :controller => 'projects', :action => 'destroy', :id => '1', :format => 'xml' should_route :delete, "/projects/64/enumerations", :controller => 'project_enumerations', :action => 'destroy', :project_id => '64' end + + context "queries" do + should_route :get, "/queries/new", :controller => 'queries', :action => 'new' + should_route :get, "/projects/redmine/queries/new", :controller => 'queries', :action => 'new', :project_id => 'redmine' + + should_route :post, "/queries/new", :controller => 'queries', :action => 'new' + should_route :post, "/projects/redmine/queries/new", :controller => 'queries', :action => 'new', :project_id => 'redmine' + end context "repositories" do should_route :get, "/projects/redmine/repository", :controller => 'repositories', :action => 'show', :id => 'redmine'