add gmtime at unit wiki page "test_updated_on_eager_load" for Rails3 compatibility

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8040 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-12-03 11:11:32 +00:00
parent fd18c51938
commit 7e62d02abb
1 changed files with 1 additions and 0 deletions

View 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