Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix typo in module name and make #in_time_zone private

  • Loading branch information...
commit 6c5bd10dc498a64dc30b3afd6914a4d15dcab4cd 1 parent d4bf1c9
@carlosantoniodasilva carlosantoniodasilva authored
View
2  activerecord/test/cases/attribute_methods_test.rb
@@ -12,7 +12,7 @@
require 'models/keyboard'
class AttributeMethodsTest < ActiveRecord::TestCase
- include InTimeZome
+ include InTimeZone
fixtures :topics, :developers, :companies, :computers
View
2  activerecord/test/cases/dirty_test.rb
@@ -27,7 +27,7 @@ class NumericData < ActiveRecord::Base
end
class DirtyTest < ActiveRecord::TestCase
- include InTimeZome
+ include InTimeZone
# Dummy to force column loads so query counts are clean.
def setup
View
4 activerecord/test/cases/helper.rb
@@ -135,7 +135,9 @@ def log(sql, name, binds = [], &block)
end
end
-module InTimeZome
+module InTimeZone
+ private
+
def in_time_zone(zone)
old_zone = Time.zone
old_tz = ActiveRecord::Base.time_zone_aware_attributes
Please sign in to comment.
Something went wrong with that request. Please try again.