Skip to content
This repository
Browse code

Merge pull request #6051 from rafaelfranca/fix_build

Fix the build
  • Loading branch information...
commit 0df261a4d1557ef0c38d44fb7aa096c203ffaac5 2 parents d6bbd33 + b18603b
José Valim josevalim authored
4 actionpack/test/template/form_helper_test.rb
@@ -2041,8 +2041,8 @@ def test_lazy_loading_default_form_builder
2041 2041 concat f.text_field(:title)
2042 2042 end
2043 2043
2044   - expected = whole_form('/posts/123', 'edit_post_123', 'edit_post', :method => 'patch') do
2045   - "<label for='title'>Title:</label> <input name='post[title]' type='text' id='post_title' value='Hello World' /><br/>"
  2044 + expected = whole_form('/posts/123', 'edit_post_123', 'edit_post', :method => 'put') do
  2045 + "<label for='title'>Title:</label> <input name='post[title]' size='30' type='text' id='post_title' value='Hello World' /><br/>"
2046 2046 end
2047 2047
2048 2048 assert_dom_equal expected, output_buffer
2  actionpack/test/template/record_tag_helper_test.rb
@@ -103,7 +103,7 @@ def test_content_tag_for_collection_is_html_safe
103 103
104 104 def test_content_tag_for_does_not_change_options_hash
105 105 options = { :class => "important" }
106   - result = content_tag_for(:li, @post, options) { }
  106 + content_tag_for(:li, @post, options) { }
107 107 assert_equal({ :class => "important" }, options)
108 108 end
109 109 end

0 comments on commit 0df261a

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