Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the build #6051

Merged
merged 2 commits into from
Apr 29, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions actionpack/test/template/form_helper_test.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2041,8 +2041,8 @@ def test_lazy_loading_default_form_builder
concat f.text_field(:title) concat f.text_field(:title)
end end


expected = whole_form('/posts/123', 'edit_post_123', 'edit_post', :method => 'patch') do expected = whole_form('/posts/123', 'edit_post_123', 'edit_post', :method => 'put') do
"<label for='title'>Title:</label> <input name='post[title]' type='text' id='post_title' value='Hello World' /><br/>" "<label for='title'>Title:</label> <input name='post[title]' size='30' type='text' id='post_title' value='Hello World' /><br/>"
end end


assert_dom_equal expected, output_buffer assert_dom_equal expected, output_buffer
Expand Down
2 changes: 1 addition & 1 deletion actionpack/test/template/record_tag_helper_test.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def test_content_tag_for_collection_is_html_safe


def test_content_tag_for_does_not_change_options_hash def test_content_tag_for_does_not_change_options_hash
options = { :class => "important" } options = { :class => "important" }
result = content_tag_for(:li, @post, options) { } content_tag_for(:li, @post, options) { }
assert_equal({ :class => "important" }, options) assert_equal({ :class => "important" }, options)
end end
end end