Permalink
Browse files

Fixed test

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3752 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 711ce82 commit 9ed7430b9489dc1e8e695a065fe34e319e3ba2b4 @dhh dhh committed Mar 3, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionwebservice/test/client_xmlrpc_test.rb
@@ -124,7 +124,7 @@ def test_model_return
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

0 comments on commit 9ed7430

Please sign in to comment.