diff options
author | José Valim <jose.valim@gmail.com> | 2012-01-24 12:38:02 -0800 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2012-01-24 12:38:02 -0800 |
commit | dc81d0054bc5f2eba6f65c32e112a4859a302f29 (patch) | |
tree | 3c6c14898987bdc3fcf01e9214b579bc2b0d12a2 | |
parent | 5a66d33e28e1eed5c424d46c72ab348d7f8202e3 (diff) | |
parent | 3cd28e24a1a3e8cf376c3c6555c6c962c72e28a9 (diff) | |
download | rails-dc81d0054bc5f2eba6f65c32e112a4859a302f29.tar.gz rails-dc81d0054bc5f2eba6f65c32e112a4859a302f29.tar.bz2 rails-dc81d0054bc5f2eba6f65c32e112a4859a302f29.zip |
Merge pull request #4643 from rafaelfranca/3-2-stable
Remove unused variables to avoid warnings
-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} |