diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index c9745da..3f64e19 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -32,12 +32,9 @@ puts "Using #{vendored ? 'vendored' : 'gem'} Rails version #{RAILS_VER} (ActiveR ActiveRecord::Base.default_timezone = :utc -if RAILS_VER >= '2.2' +if RAILS_VER >= '2.1' Time.zone_default = ActiveSupport::TimeZone['UTC'] ActiveRecord::Base.time_zone_aware_attributes = true -elsif RAILS_VER >= '2.1' - Time.zone_default = TimeZone['UTC'] - ActiveRecord::Base.time_zone_aware_attributes = true end ActiveRecord::Migration.verbose = false