Permalink
Browse files

Force local timezone

  • Loading branch information...
bnauta committed Nov 14, 2013
1 parent abc0997 commit f897e2a808f692b8f6bab0df5fd573ff4df818f1
Showing with 2 additions and 0 deletions.
  1. +2 −0 test/test_helper.rb
View
@@ -5,6 +5,7 @@
require "timecop"
require "i18n"
+
I18n.load_path << File.dirname(__FILE__) + '/i18n/lol.yml'
#ActiveRecord::Schema.verbose = false
@@ -14,6 +15,7 @@
ActiveRecord::Base.logger = logger
ActiveRecord::Base.configurations = true
+ActiveRecord::Base.default_timezone = :local
ActiveRecord::Schema.define(:version => 1) do
create_table :companies do |t|
t.datetime :created_at

0 comments on commit f897e2a

Please sign in to comment.