aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-01-24 18:06:41 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-01-24 18:06:41 -0200
commit3cd28e24a1a3e8cf376c3c6555c6c962c72e28a9 (patch)
tree3c6c14898987bdc3fcf01e9214b579bc2b0d12a2 /actionpack/test/template
parent5a66d33e28e1eed5c424d46c72ab348d7f8202e3 (diff)
downloadrails-3cd28e24a1a3e8cf376c3c6555c6c962c72e28a9.tar.gz
rails-3cd28e24a1a3e8cf376c3c6555c6c962c72e28a9.tar.bz2
rails-3cd28e24a1a3e8cf376c3c6555c6c962c72e28a9.zip
Remove unused variables to avoid warnings
Diffstat (limited to 'actionpack/test/template')
-rw-r--r--actionpack/test/template/date_helper_test.rb3
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}