Unused variable removed.

This commit is contained in:
Arun Agrawal 2011-08-15 21:49:12 +05:30
parent c80876f778
commit 45ccd64866
1 changed files with 4 additions and 4 deletions

View File

@ -508,25 +508,25 @@ class FormTagHelperTest < ActionView::TestCase
def test_text_area_tag_options_symbolize_keys_side_effects
options = { :option => "random_option" }
actual = text_area_tag "body", "hello world", options
text_area_tag "body", "hello world", options
assert_equal options, { :option => "random_option" }
end
def test_submit_tag_options_symbolize_keys_side_effects
options = { :option => "random_option" }
actual = submit_tag "submit value", options
submit_tag "submit value", options
assert_equal options, { :option => "random_option" }
end
def test_button_tag_options_symbolize_keys_side_effects
options = { :option => "random_option" }
actual = button_tag "button value", options
button_tag "button value", options
assert_equal options, { :option => "random_option" }
end
def test_image_submit_tag_options_symbolize_keys_side_effects
options = { :option => "random_option" }
actual = image_submit_tag "submit source", options
image_submit_tag "submit source", options
assert_equal options, { :option => "random_option" }
end