diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-01-24 18:06:41 -0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2012-01-24 21:38:55 +0100 |
commit | b1f8ba138360cd67994d4134f57abca74f8528bc (patch) | |
tree | e7b62c7bb1953f9d693130a2fa573e2a88e295c0 /actionpack | |
parent | 6a88302a5fb2483b822c5eccb63bd43ac3958166 (diff) | |
download | rails-b1f8ba138360cd67994d4134f57abca74f8528bc.tar.gz rails-b1f8ba138360cd67994d4134f57abca74f8528bc.tar.bz2 rails-b1f8ba138360cd67994d4134f57abca74f8528bc.zip |
Remove unused variables to avoid warnings
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/template/date_helper_test.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/actionpack/test/template/date_helper_test.rb b/actionpack/test/template/date_helper_test.rb index b69c47b476..9e2f4ec347 100644 --- a/actionpack/test/template/date_helper_test.rb +++ b/actionpack/test/template/date_helper_test.rb @@ -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} |