mirror of
https://github.com/redmine/redmine.git
synced 2025-11-01 19:05:51 +01:00
Removed invalid/duplicate test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10582 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -516,13 +516,6 @@ class TimelogControllerTest < ActionController::TestCase
|
||||
assert_equal '2011-12-18'.to_date, assigns(:to)
|
||||
end
|
||||
|
||||
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'
|
||||
|
||||
Reference in New Issue
Block a user