Introduction
Introduction Statistics Contact Development Disclaimer Help
Switch ActiveRecord's default_timezone to :local because specs expect that. - r…
Log
Files
Refs
README
---
commit 0d1590082dfe46740af507eb0b6d3259201a969e
parent 9373bc0ac7971e3e80a3a9796b77acf30e2177d1
Author: Martin Schùˆrrer <[email protected]>
Date: Wed, 9 Apr 2014 15:52:04 +0200
Switch ActiveRecord's default_timezone to :local because specs expect that.
Diffstat:
M spec/spec_helper.rb | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
@@ -34,6 +34,7 @@ RSpec.configure do |config|
config.filter_run :focus => true
config.run_all_when_everything_filtered = true
end
+ActiveRecord::Base.default_timezone = :local
databases = YAML::load(IO.read(File.join(File.dirname(__FILE__), 'db', 'databa…
ActiveRecord::Base.establish_connection(databases[ENV['DB'] || 'sqlite3'])
You are viewing proxied material from jay.scot. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.