Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #6051 from rafaelfranca/fix_build

Fix the build
  • Loading branch information...
commit 0df261a4d1557ef0c38d44fb7aa096c203ffaac5 2 parents d6bbd33 + b18603b
@josevalim josevalim authored
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

0 comments on commit 0df261a

Please sign in to comment.
Something went wrong with that request. Please try again.