diff options
author | Akira Matsuda <ronnie@dio.jp> | 2015-04-25 11:59:03 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2015-04-25 17:09:33 +0900 |
commit | 2fab16142ee1c1d5f08b49b9fb2b6dd4717397a8 (patch) | |
tree | 5f56b6581b1101dda07d4f21dbd6163590bbdd7d /actionview/test | |
parent | 6a4771fd6ebe3d6a35f7b8f34c67385e80fbdf3a (diff) | |
download | rails-2fab16142ee1c1d5f08b49b9fb2b6dd4717397a8.tar.gz rails-2fab16142ee1c1d5f08b49b9fb2b6dd4717397a8.tar.bz2 rails-2fab16142ee1c1d5f08b49b9fb2b6dd4717397a8.zip |
:put_litter_in_its_place: Unused methods
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/activerecord/form_helper_activerecord_test.rb | 4 | ||||
-rw-r--r-- | actionview/test/template/date_helper_test.rb | 8 |
2 files changed, 0 insertions, 12 deletions
diff --git a/actionview/test/activerecord/form_helper_activerecord_test.rb b/actionview/test/activerecord/form_helper_activerecord_test.rb index 0a62f49f35..2769b97445 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 a0e1f5f3bb..9212420ec9 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 = '<time datetime="2013-02-20T00:00:00+00:00">20 Feb 00:00</time>' 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 |