Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed test

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3752 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 9ed7430b9489dc1e8e695a065fe34e319e3ba2b4 1 parent 711ce82
@dhh dhh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionwebservice/test/client_xmlrpc_test.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.