Skip to content

Fix the build #6051

Merged
merged 2 commits into from Apr 29, 2012
View
4 actionpack/test/template/form_helper_test.rb
@@ -2041,8 +2041,8 @@ def test_lazy_loading_default_form_builder
concat f.text_field(:title)
end
- expected = whole_form('/posts/123', 'edit_post_123', 'edit_post', :method => 'patch') do
- "<label for='title'>Title:</label> <input name='post[title]' type='text' id='post_title' value='Hello World' /><br/>"
+ expected = whole_form('/posts/123', 'edit_post_123', 'edit_post', :method => 'put') do
+ "<label for='title'>Title:</label> <input name='post[title]' size='30' type='text' id='post_title' value='Hello World' /><br/>"
end
assert_dom_equal expected, output_buffer
View
2 actionpack/test/template/record_tag_helper_test.rb
@@ -103,7 +103,7 @@ def test_content_tag_for_collection_is_html_safe
def test_content_tag_for_does_not_change_options_hash
options = { :class => "important" }
- result = content_tag_for(:li, @post, options) { }
+ content_tag_for(:li, @post, options) { }
assert_equal({ :class => "important" }, options)
end
end
Something went wrong with that request. Please try again.