summaryrefslogtreecommitdiffstats
path: root/test/unit
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/unit
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/unit')
-rw-r--r--test/unit/helpers/routes_helper_test.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/unit/helpers/routes_helper_test.rb b/test/unit/helpers/routes_helper_test.rb
index dd92ea67a..ec977c156 100644
--- a/test/unit/helpers/routes_helper_test.rb
+++ b/test/unit/helpers/routes_helper_test.rb
@@ -26,15 +26,11 @@ class RoutesHelperTest < ActionView::TestCase
def test_time_entries_path
assert_equal '/projects/ecookbook/time_entries', _time_entries_path(Project.find(1), nil)
- assert_equal '/issues/1/time_entries', _time_entries_path(Project.find(1), Issue.find(1))
- assert_equal '/issues/1/time_entries', _time_entries_path(nil, Issue.find(1))
assert_equal '/time_entries', _time_entries_path(nil, nil)
end
def test_report_time_entries_path
assert_equal '/projects/ecookbook/time_entries/report', _report_time_entries_path(Project.find(1), nil)
- assert_equal '/issues/1/time_entries/report', _report_time_entries_path(Project.find(1), Issue.find(1))
- assert_equal '/issues/1/time_entries/report', _report_time_entries_path(nil, Issue.find(1))
assert_equal '/time_entries/report', _report_time_entries_path(nil, nil)
end