diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-16 10:58:15 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-11-16 10:58:15 +0000 |
commit | d5502388946d64884c6b5c79ef093c5cb8e1aad6 (patch) | |
tree | 69aa9639db71b684aa9fb2a53dde38f98e6fea1c /test | |
parent | eae9c9ab2be43c64c830a03e414b51a08571c957 (diff) | |
download | redmine-d5502388946d64884c6b5c79ef093c5cb8e1aad6.tar.gz redmine-d5502388946d64884c6b5c79ef093c5cb8e1aad6.zip |
Removed API tests for routes that are not implemented.
git-svn-id: http://svn.redmine.org/redmine/trunk@13605 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/api_test/api_routing_test.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/integration/api_test/api_routing_test.rb b/test/integration/api_test/api_routing_test.rb index d36dc8377..6fb591162 100644 --- a/test/integration/api_test/api_routing_test.rb +++ b/test/integration/api_test/api_routing_test.rb @@ -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 |