🚮 Unused methods

This commit is contained in:
Akira Matsuda 2015-04-25 11:59:03 +09:00
parent 6a4771fd6e
commit 2fab16142e
2 changed files with 0 additions and 12 deletions

View File

@ -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

View File

@ -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