aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2013-01-22 14:24:42 +0000
committerAndrew White <andyw@pixeltrix.co.uk>2013-01-22 14:24:42 +0000
commit97a4db91d69d1795fe9079027968f0c0453bd0a1 (patch)
tree8f40966567f78765377d80613ce2ded7e167fed7 /activerecord/test/cases
parent7ee76714abe4775db4bc44b052338e732d38e93b (diff)
downloadrails-97a4db91d69d1795fe9079027968f0c0453bd0a1.tar.gz
rails-97a4db91d69d1795fe9079027968f0c0453bd0a1.tar.bz2
rails-97a4db91d69d1795fe9079027968f0c0453bd0a1.zip
Revert "Merge pull request #6986 from kennyj/fix_6975"
This reverts commit 8905c1fb496641c3cdb7b3b816ae6d3d4b2c2b73. Closes #8460 Conflicts: activerecord/test/cases/dirty_test.rb
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r--activerecord/test/cases/dirty_test.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/activerecord/test/cases/dirty_test.rb b/activerecord/test/cases/dirty_test.rb
index a82ec6d3cd..b4e43bdfbc 100644
--- a/activerecord/test/cases/dirty_test.rb
+++ b/activerecord/test/cases/dirty_test.rb
@@ -563,21 +563,6 @@ class DirtyTest < ActiveRecord::TestCase
end
end
- def test_setting_time_attributes_with_time_zone_field_to_same_time_should_not_be_marked_as_a_change
- in_time_zone 'Paris' do
- target = Class.new(ActiveRecord::Base)
- target.table_name = 'pirates'
-
- created_on = Time.now
-
- pirate = target.create(:created_on => created_on)
- pirate.reload # Here mysql truncate the usec value to 0
-
- pirate.created_on = created_on
- assert !pirate.created_on_changed?
- end
- end
-
private
def with_partial_updates(klass, on = true)
old = klass.partial_updates?