Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix the build #6051

Merged
merged 2 commits into from

2 participants

@rafaelfranca

No description provided.

rafaelfranca added some commits
@rafaelfranca rafaelfranca Fix the build.
* The method for persisted records in 3-2-branch is 'PUT'
* size is generated by default in inputs
a782aa5
@rafaelfranca rafaelfranca Remove warning of unused variable b18603b
@josevalim
Owner
@rafaelfranca

Only on master

@josevalim
Owner

Ah, missed that. :)

@josevalim josevalim merged commit 0df261a into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 29, 2012
  1. @rafaelfranca

    Fix the build.

    rafaelfranca authored
    * The method for persisted records in 3-2-branch is 'PUT'
    * size is generated by default in inputs
  2. @rafaelfranca
This page is out of date. Refresh to see the latest.
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.