]> source.dussan.org Git - redmine.git/commitdiff
Removed API tests for routes that are not implemented.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 16 Nov 2014 10:58:15 +0000 (10:58 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 16 Nov 2014 10:58:15 +0000 (10:58 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13605 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/api_test/api_routing_test.rb

index d36dc83776652f1a477052634ce11d6bbeb2b4b5..6fb591162763380075f68775b7dadb666bd22931 100644 (file)
@@ -65,20 +65,12 @@ class Redmine::ApiTest::ApiRoutingTest < Redmine::ApiTest::Routing
 
   def test_issue_statuses
     should_route 'GET /issue_statuses' => 'issue_statuses#index'
-    should_route 'POST /issue_statuses' => 'issue_statuses#create' # NOT IMPLEMENTED
-    should_route 'GET /issue_statuses/new' => 'issue_statuses#new' # NOT IMPLEMENTED
-
-    should_route 'PUT /issue_statuses/1' => 'issue_statuses#update', :id => '1' # NOT IMPLEMENTED
-    should_route 'DELETE /issue_statuses/1' => 'issue_statuses#destroy', :id => '1' # NOT IMPLEMENTED
-    should_route 'POST /issue_statuses/update_issue_done_ratio' => 'issue_statuses#update_issue_done_ratio' # NOT IMPLEMENTED
   end
 
   def test_issues
     should_route 'GET /issues' => 'issues#index'
     should_route 'POST /issues' => 'issues#create'
 
-    should_route 'GET /projects/23/issues' => 'issues#index', :project_id => '23'
-
     should_route 'GET /issues/64' => 'issues#show', :id => '64'
     should_route 'PUT /issues/64' => 'issues#update', :id => '64'
     should_route 'DELETE /issues/64' => 'issues#destroy', :id => '64'
@@ -118,11 +110,6 @@ class Redmine::ApiTest::ApiRoutingTest < Redmine::ApiTest::Routing
 
   def test_trackers
     should_route 'GET /trackers' => 'trackers#index'
-    should_route 'POST /trackers' => 'trackers#create' # NOT IMPLEMENTED
-    should_route 'GET /trackers/new' => 'trackers#new' # NOT IMPLEMENTED
-
-    should_route 'PUT /trackers/1' => 'trackers#update', :id => '1' # NOT IMPLEMENTED
-    should_route 'DELETE /trackers/1' => 'trackers#destroy', :id => '1' # NOT IMPLEMENTED
   end
 
   def test_users