diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-14 05:05:24 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2014-02-14 05:05:24 +0000 |
commit | e8df3d50e8d08a5944cd6d899b1348ba623ecedb (patch) | |
tree | e7f3dd68bdd616f0d9635da01ee4a25ce09291d6 /test/unit/lib/redmine/scm | |
parent | 0aaf7f799aba40ef7edb3252fc5fbc398d54daf7 (diff) | |
download | redmine-e8df3d50e8d08a5944cd6d899b1348ba623ecedb.tar.gz redmine-e8df3d50e8d08a5944cd6d899b1348ba623ecedb.zip |
Rails4: fix time related git adapter test failures
git-svn-id: http://svn.redmine.org/redmine/trunk@12882 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/lib/redmine/scm')
-rw-r--r-- | test/unit/lib/redmine/scm/adapters/git_adapter_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb b/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb index 205e82139..a140d25dc 100644 --- a/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb +++ b/test/unit/lib/redmine/scm/adapters/git_adapter_test.rb @@ -392,7 +392,7 @@ begin assert_equal "4a07fe31bffcf2888791f3e6cbc9c4545cefe3e8", last_rev.scmid assert_equal "4a07fe31bffcf2888791f3e6cbc9c4545cefe3e8", last_rev.identifier assert_equal "Adam Soltys <asoltys@gmail.com>", last_rev.author - assert_equal "2009-06-24 05:27:38".to_time, last_rev.time + assert_equal Time.gm(2009, 6, 24, 5, 27, 38), last_rev.time end def test_last_rev_with_spaces_in_filename @@ -403,7 +403,7 @@ begin assert_equal "ed5bb786bbda2dee66a2d50faf51429dbc043a7b", last_rev.identifier assert_equal "#{@str_felix_hex} <felix@fachschaften.org>", last_rev.author - assert_equal "2010-09-18 19:59:46".to_time, last_rev.time + assert_equal Time.gm(2010, 9, 18, 19, 59, 46), last_rev.time end def test_latin_1_path |