Permalink
Browse files

reset default timezone and make test order independent

  • Loading branch information...
1 parent bffda1e commit 5e68e42f6209a8f80cbfb223f8d487e447eda084 Neeraj Singh committed Jul 28, 2013
Showing with 4 additions and 0 deletions.
  1. +4 −0 activerecord/test/cases/multiparameter_attributes_test.rb
@@ -11,6 +11,10 @@ def setup
Time.zone = nil
end
+ def teardown
+ ActiveRecord::Base.default_timezone = :utc
+ end
+
def test_multiparameter_attributes_on_date
attributes = { "last_read(1i)" => "2004", "last_read(2i)" => "6", "last_read(3i)" => "24" }
topic = Topic.find(1)

0 comments on commit 5e68e42

Please sign in to comment.