summaryrefslogtreecommitdiffstats
path: root/test/functional/timelog_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-10-09 17:38:46 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-10-09 17:38:46 +0000
commit340b4a30d03e4b079724e02dc33bf1788a24a975 (patch)
tree76ae60c467cf130f05d6ee48f2d2926a3cf9d01f /test/functional/timelog_controller_test.rb
parent7263862ce33f2a9d7b911cd140de8df98d2a723d (diff)
downloadredmine-340b4a30d03e4b079724e02dc33bf1788a24a975.tar.gz
redmine-340b4a30d03e4b079724e02dc33bf1788a24a975.zip
Removed invalid/duplicate test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10582 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/timelog_controller_test.rb')
-rw-r--r--test/functional/timelog_controller_test.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb
index c83d4d17f..24893fdd0 100644
--- a/test/functional/timelog_controller_test.rb
+++ b/test/functional/timelog_controller_test.rb
@@ -518,13 +518,6 @@ class TimelogControllerTest < ActionController::TestCase
def test_index_last_week
Date.stubs(:today).returns('2011-12-15'.to_date)
- get :index, :period => 'current_week'
- assert_equal '2011-12-05'.to_date, assigns(:from)
- assert_equal '2011-12-11'.to_date, assigns(:to)
- end
-
- def test_index_last_week
- Date.stubs(:today).returns('2011-12-15'.to_date)
get :index, :period => 'last_week'
assert_equal '2011-12-05'.to_date, assigns(:from)
assert_equal '2011-12-11'.to_date, assigns(:to)