From abbf79faae6e4ca2f7afa73e5bf61bf29503a546 Mon Sep 17 00:00:00 2001 From: Adam Meehan Date: Sat, 22 Nov 2008 09:46:28 +1100 Subject: [PATCH] removed unnecessary version condition --- spec/spec_helper.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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