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:
parent
6a88302a5f
commit
b1f8ba1383
1 changed files with 0 additions and 3 deletions
|
@ -1620,9 +1620,6 @@ class DateHelperTest < ActionView::TestCase
|
||||||
def test_date_select_with_nil_and_blank_and_discard_year
|
def test_date_select_with_nil_and_blank_and_discard_year
|
||||||
@post = Post.new
|
@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 = '<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}
|
expected << %{<select id="post_written_on_2i" name="post[written_on(2i)]">\n}
|
||||||
|
|
Loading…
Reference in a new issue