Permalink
Browse files

Fix typo in module name and make #in_time_zone private

  • Loading branch information...
1 parent d4bf1c9 commit 6c5bd10dc498a64dc30b3afd6914a4d15dcab4cd @carlosantoniodasilva carlosantoniodasilva committed Nov 17, 2012
@@ -12,7 +12,7 @@
require 'models/keyboard'
class AttributeMethodsTest < ActiveRecord::TestCase
- include InTimeZome
+ include InTimeZone
fixtures :topics, :developers, :companies, :computers
@@ -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
@@ -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

0 comments on commit 6c5bd10

Please sign in to comment.