mirror of
https://github.com/redmine/redmine.git
synced 2025-11-10 07:16:03 +01:00
Makes custom queries available through the REST API (#5737).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6186 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -210,6 +210,9 @@ class RoutingTest < ActionController::IntegrationTest
|
||||
end
|
||||
|
||||
context "queries" do
|
||||
should_route :get, "/queries.xml", :controller => 'queries', :action => 'index', :format => 'xml'
|
||||
should_route :get, "/queries.json", :controller => 'queries', :action => 'index', :format => 'json'
|
||||
|
||||
should_route :get, "/queries/new", :controller => 'queries', :action => 'new'
|
||||
should_route :get, "/projects/redmine/queries/new", :controller => 'queries', :action => 'new', :project_id => 'redmine'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user