mirror of
				https://github.com/redmine/redmine.git
				synced 2025-11-03 20:06:24 +01:00 
			
		
		
		
	Isolates all API routing tests to a specific test case.
git-svn-id: http://svn.redmine.org/redmine/trunk@13604 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
		@@ -19,14 +19,6 @@ require File.expand_path('../../../test_helper', __FILE__)
 | 
			
		||||
 | 
			
		||||
class RoutingQueriesTest < ActionDispatch::IntegrationTest
 | 
			
		||||
  def test_queries
 | 
			
		||||
    assert_routing(
 | 
			
		||||
        { :method => 'get', :path => "/queries.xml" },
 | 
			
		||||
        { :controller => 'queries', :action => 'index', :format => 'xml' }
 | 
			
		||||
      )
 | 
			
		||||
    assert_routing(
 | 
			
		||||
        { :method => 'get', :path => "/queries.json" },
 | 
			
		||||
        { :controller => 'queries', :action => 'index', :format => 'json' }
 | 
			
		||||
      )
 | 
			
		||||
    assert_routing(
 | 
			
		||||
        { :method => 'get', :path => "/queries/new" },
 | 
			
		||||
        { :controller => 'queries', :action => 'new' }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user