summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-16 11:02:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-16 11:02:04 +0000
commitd72e1f95ba4f5c354fbb701808c20c99266077fd (patch)
tree80698c10f3c6c5bfaec47e145efeae2b9a64bda0 /test/integration
parentdd2a0554c610ce98ea4cfb351a699fcbd020481d (diff)
downloadredmine-d72e1f95ba4f5c354fbb701808c20c99266077fd.tar.gz
redmine-d72e1f95ba4f5c354fbb701808c20c99266077fd.zip
Renamed #test_watchers to #test_issue_watchers.
git-svn-id: http://svn.redmine.org/redmine/trunk@13607 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/api_test/api_routing_test.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/integration/api_test/api_routing_test.rb b/test/integration/api_test/api_routing_test.rb
index 40cfe7a71..01782f58c 100644
--- a/test/integration/api_test/api_routing_test.rb
+++ b/test/integration/api_test/api_routing_test.rb
@@ -76,6 +76,11 @@ class Redmine::ApiTest::ApiRoutingTest < Redmine::ApiTest::Routing
should_route 'DELETE /issues/64' => 'issues#destroy', :id => '64'
end
+ def test_issue_watchers
+ should_route 'POST /issues/12/watchers' => 'watchers#create', :object_type => 'issue', :object_id => '12'
+ should_route 'DELETE /issues/12/watchers/3' => 'watchers#destroy', :object_type => 'issue', :object_id => '12', :user_id => '3'
+ end
+
def test_memberships
should_route 'GET /projects/5234/memberships' => 'members#index', :project_id => '5234'
should_route 'POST /projects/5234/memberships' => 'members#create', :project_id => '5234'
@@ -140,11 +145,6 @@ class Redmine::ApiTest::ApiRoutingTest < Redmine::ApiTest::Routing
should_route 'DELETE /versions/1' => 'versions#destroy', :id => '1'
end
- def test_watchers
- should_route 'POST /issues/12/watchers' => 'watchers#create', :object_type => 'issue', :object_id => '12'
- should_route 'DELETE /issues/12/watchers/3' => 'watchers#destroy', :object_type => 'issue', :object_id => '12', :user_id => '3'
- end
-
def test_wiki
should_route 'GET /projects/567/wiki/index' => 'wiki#index', :project_id => '567'