mirror of
				https://github.com/redmine/redmine.git
				synced 2025-10-31 02:15:52 +01:00 
			
		
		
		
	Files REST API (#19116).
Patch by Lucile Quirion and Jake Kemme. git-svn-id: http://svn.redmine.org/redmine/trunk@16109 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
		| @@ -34,6 +34,11 @@ class Redmine::ApiTest::ApiRoutingTest < Redmine::ApiTest::Routing | ||||
|     should_route 'GET /enumerations/issue_priorities' => 'enumerations#index', :type => 'issue_priorities' | ||||
|   end | ||||
|  | ||||
|   def test_files | ||||
|     should_route 'GET /projects/foo/files' => 'files#index', :project_id => 'foo' | ||||
|     should_route 'POST /projects/foo/files' => 'files#create', :project_id => 'foo' | ||||
|   end | ||||
|  | ||||
|   def test_groups | ||||
|     should_route 'GET /groups' => 'groups#index' | ||||
|     should_route 'POST /groups' => 'groups#create' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user