]> source.dussan.org Git - redmine.git/commitdiff
add gmtime at unit wiki page "test_updated_on_eager_load" for Rails3 compatibility
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 3 Dec 2011 11:11:32 +0000 (11:11 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 3 Dec 2011 11:11:32 +0000 (11:11 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8040 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/wiki_page_test.rb

index 9ef39fbdbd67e5465b663c078390e894e883ef3d..3dd04bb14b857030f5ac60d9bd14b5473aa63491 100644 (file)
@@ -126,6 +126,7 @@ class WikiPageTest < ActiveSupport::TestCase
     page = WikiPage.with_updated_on.first
     assert page.is_a?(WikiPage)
     assert_not_nil page.read_attribute(:updated_on)
+    assert_equal Time.gm(2007, 3, 6, 23, 10, 51), page.content.updated_on
     assert_equal page.content.updated_on, page.updated_on
   end
 end