scm: cvs: fix age column on repository view is off by timezone delta (#7827).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5088 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA
2011-03-11 04:19:33 +00:00
parent 651976eebd
commit 732ee35b2f
2 changed files with 19 additions and 1 deletions

View File

@@ -39,6 +39,14 @@ begin
assert_equal 2, cnt
end
def test_entries_rev3
rev3_committed_on = Time.gm(2007, 12, 13, 16, 27, 22)
entries = @adapter.entries('sources', rev3_committed_on)
assert_equal 2, entries.size
assert_equal entries[0].name, "watchers_controller.rb"
assert_equal entries[0].lastrev.time, Time.gm(2007, 12, 13, 16, 27, 22)
end
private
def test_scm_version_for(scm_command_version, version)