diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-03 05:59:04 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-03 05:59:04 +0000 |
commit | 9ed7430b9489dc1e8e695a065fe34e319e3ba2b4 (patch) | |
tree | 84fd56739db58f4cc0d5f32967b7cdbefed215f1 /actionwebservice/test/client_xmlrpc_test.rb | |
parent | 711ce826a71283596f1f695b9e3fc511be9ed996 (diff) | |
download | rails-9ed7430b9489dc1e8e695a065fe34e319e3ba2b4.tar.gz rails-9ed7430b9489dc1e8e695a065fe34e319e3ba2b4.tar.bz2 rails-9ed7430b9489dc1e8e695a065fe34e319e3ba2b4.zip |
Fixed test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3752 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/test/client_xmlrpc_test.rb')
-rw-r--r-- | actionwebservice/test/client_xmlrpc_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionwebservice/test/client_xmlrpc_test.rb b/actionwebservice/test/client_xmlrpc_test.rb index a77942dc07..8bb0fdffdc 100644 --- a/actionwebservice/test/client_xmlrpc_test.rb +++ b/actionwebservice/test/client_xmlrpc_test.rb @@ -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 |