From 2fab16142ee1c1d5f08b49b9fb2b6dd4717397a8 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Sat, 25 Apr 2015 11:59:03 +0900 Subject: [PATCH] :put_litter_in_its_place: Unused methods --- .../test/activerecord/form_helper_activerecord_test.rb | 4 ---- actionview/test/template/date_helper_test.rb | 8 -------- 2 files changed, 12 deletions(-) diff --git a/actionview/test/activerecord/form_helper_activerecord_test.rb b/actionview/test/activerecord/form_helper_activerecord_test.rb index 0a62f49f354..2769b974455 100644 --- a/actionview/test/activerecord/form_helper_activerecord_test.rb +++ b/actionview/test/activerecord/form_helper_activerecord_test.rb @@ -35,10 +35,6 @@ class FormHelperActiveRecordTest < ActionView::TestCase end end - def _routes - Routes - end - include Routes.url_helpers def test_nested_fields_for_with_child_index_option_override_on_a_nested_attributes_collection_association diff --git a/actionview/test/template/date_helper_test.rb b/actionview/test/template/date_helper_test.rb index a0e1f5f3bb2..9212420ec9e 100644 --- a/actionview/test/template/date_helper_test.rb +++ b/actionview/test/template/date_helper_test.rb @@ -3217,12 +3217,4 @@ class DateHelperTest < ActionView::TestCase expected = '' assert_equal expected, time_tag(time, :format => :short) end - - protected - def with_env_tz(new_tz = 'US/Eastern') - old_tz, ENV['TZ'] = ENV['TZ'], new_tz - yield - ensure - old_tz ? ENV['TZ'] = old_tz : ENV.delete('TZ') - end end