diff options
author | Neeraj Singh <neerajdotname@gmail.com> | 2013-07-29 07:49:56 +0530 |
---|---|---|
committer | Neeraj Singh <neerajdotname@gmail.com> | 2013-07-29 07:49:56 +0530 |
commit | e18e7d9253736616862ca0c164497c3617b07da4 (patch) | |
tree | d385b8d1b97b7ec7c8827ddb93c41035fdacb221 /activerecord | |
parent | b67a80de9b55f91feb1c1056824f456710a96d0d (diff) | |
download | rails-e18e7d9253736616862ca0c164497c3617b07da4.tar.gz rails-e18e7d9253736616862ca0c164497c3617b07da4.tar.bz2 rails-e18e7d9253736616862ca0c164497c3617b07da4.zip |
remove duplicate method
This method is already present in helper.rb
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/finder_test.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/test/cases/finder_test.rb b/activerecord/test/cases/finder_test.rb index d8bc0653a1..51a8a13d04 100644 --- a/activerecord/test/cases/finder_test.rb +++ b/activerecord/test/cases/finder_test.rb @@ -876,11 +876,4 @@ class FinderTest < ActiveRecord::TestCase ensure old_tz ? ENV['TZ'] = old_tz : ENV.delete('TZ') end - - def with_active_record_default_timezone(zone) - old_zone, ActiveRecord::Base.default_timezone = ActiveRecord::Base.default_timezone, zone - yield - ensure - ActiveRecord::Base.default_timezone = old_zone - end end |