提交 b1f8ba13 编写于 作者: R Rafael Mendonça França 提交者: José Valim

Remove unused variables to avoid warnings

Signed-off-by: NJosé Valim <jose.valim@gmail.com>
上级 6a88302a
...@@ -1620,9 +1620,6 @@ def test_date_select_with_nil_and_blank_and_discard_month ...@@ -1620,9 +1620,6 @@ def test_date_select_with_nil_and_blank_and_discard_month
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}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册