1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fixed test

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3752 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2006-03-03 05:59:04 +00:00
parent 711ce826a7
commit 9ed7430b94

View file

@ -124,7 +124,7 @@ class TC_ClientXmlRpc < Test::Unit::TestCase
assert_equal 'Kent', user.name
assert user.active?
assert_kind_of Time, user.created_on
assert_equal Time.now.getgm.beginning_of_day, user.created_on
assert_equal Time.utc(Time.now.year, Time.now.month, Time.now.day), user.created_on
end
def test_with_model