1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove unused variables to avoid warnings

Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
Rafael Mendonça França 2012-01-24 18:06:41 -02:00 committed by José Valim
parent 6a88302a5f
commit b1f8ba1383

View file

@ -1620,9 +1620,6 @@ class DateHelperTest < ActionView::TestCase
def test_date_select_with_nil_and_blank_and_discard_year
@post = Post.new
start_year = Time.now.year-5
end_year = Time.now.year+5
expected = '<input id="post_written_on_1i" name="post[written_on(1i)]" type="hidden" value="1" />' + "\n"
expected << %{<select id="post_written_on_2i" name="post[written_on(2i)]">\n}