Skip to content

Commit

Permalink
🚮 Unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Apr 25, 2015
1 parent 6a4771f commit 2fab161
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions actionview/test/activerecord/form_helper_activerecord_test.rb
Expand Up @@ -35,10 +35,6 @@ def teardown
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
Expand Down
8 changes: 0 additions & 8 deletions actionview/test/template/date_helper_test.rb
Expand Up @@ -3217,12 +3217,4 @@ def test_time_tag_with_different_format
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

0 comments on commit 2fab161

Please sign in to comment.