spec/spec_helper.rb in locker-0.4.0 vs spec/spec_helper.rb in locker-0.5.0
- old
+ new
@@ -3,9 +3,16 @@
require 'rubygems'
require 'bundler/setup'
require 'active_record'
+begin
+ require 'pry'
+ require 'pry-byebug'
+rescue LoadError
+ # jruby won't have these
+end
+
require 'locker'
ActiveRecord::Base.time_zone_aware_attributes = true
ActiveRecord::Base.default_timezone = :utc