Permalink
Browse files

Merge pull request #11646 from neerajdotname/remove_duplicate_method

remove duplicate method
  • Loading branch information...
2 parents b67a80d + e18e7d9 commit 008e5722d4fdce62f151a288afb9832ae3e9a0ad @senny senny committed Jul 29, 2013
Showing with 0 additions and 7 deletions.
  1. +0 −7 activerecord/test/cases/finder_test.rb
@@ -876,11 +876,4 @@ def with_env_tz(new_tz = 'US/Eastern')
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

0 comments on commit 008e572

Please sign in to comment.