summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-12 19:28:49 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-12 19:28:49 +0000
commit03dbf8abb881e333256b1cf046b04532b3164d21 (patch)
treea85915265ada3067d3d94e40e14cf1540f87a1af /test/integration
parentf01b0887ff3ac48bfc7a45b05a8ec17891ddfe19 (diff)
downloadredmine-03dbf8abb881e333256b1cf046b04532b3164d21.tar.gz
redmine-03dbf8abb881e333256b1cf046b04532b3164d21.zip
Remove special behaviour for listing issue time entries, use a filter for that.
git-svn-id: http://svn.redmine.org/redmine/trunk@15644 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/routing/timelog_test.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/test/integration/routing/timelog_test.rb b/test/integration/routing/timelog_test.rb
index 9a2057329..b7a219c65 100644
--- a/test/integration/routing/timelog_test.rb
+++ b/test/integration/routing/timelog_test.rb
@@ -40,10 +40,7 @@ class RoutingTimelogsTest < Redmine::RoutingTest
end
def test_timelogs_scoped_under_issues
- should_route 'GET /issues/234/time_entries' => 'timelog#index', :issue_id => '234'
- should_route 'GET /issues/234/time_entries.csv' => 'timelog#index', :issue_id => '234', :format => 'csv'
- should_route 'GET /issues/234/time_entries.atom' => 'timelog#index', :issue_id => '234', :format => 'atom'
- should_route 'GET /issues/234/time_entries/new' => 'timelog#new', :issue_id => '234'
+ should_route 'GET /issues/234/time_entries/new' => 'timelog#new', :issue_id => '234'
should_route 'POST /issues/234/time_entries' => 'timelog#create', :issue_id => '234'
end
@@ -53,9 +50,6 @@ class RoutingTimelogsTest < Redmine::RoutingTest
should_route 'GET /projects/foo/time_entries/report' => 'timelog#report', :project_id => 'foo'
should_route 'GET /projects/foo/time_entries/report.csv' => 'timelog#report', :project_id => 'foo', :format => 'csv'
-
- should_route 'GET /issues/234/time_entries/report' => 'timelog#report', :issue_id => '234'
- should_route 'GET /issues/234/time_entries/report.csv' => 'timelog#report', :issue_id => '234', :format => 'csv'
end
def test_timelogs_bulk_edit