mirror of https://github.com/rails/rails
🚮 Unused methods
This commit is contained in:
parent
6a4771fd6e
commit
2fab16142e
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue