Skip to content

Loading…

duplicate test class name and a duplicate test method name #7

Merged
merged 1 commit into from

2 participants

@rlineweaver

Small cleanups to fix a duplicate test class name and a duplicate test method name.

@spastorino spastorino merged commit fc2b468 into rails:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 18, 2011
  1. @rlineweaver
Showing with 2 additions and 2 deletions.
  1. +1 −1 test/content_for_test.rb
  2. +1 −1 test/form_helper_test.rb
View
2 test/content_for_test.rb
@@ -1,6 +1,6 @@
require 'test_helper'
-class UrlHelperTest < ActionView::TestCase
+class ContentForTest < ActionView::TestCase
def test_content_for_should_yield_html_safe_string
content_for(:testing, "Some <p>html</p>")
View
2 test/form_helper_test.rb
@@ -269,7 +269,7 @@ def test_hidden_field_with_escapes
hidden_field("post", "title")
end
- def test_text_field_with_options
+ def test_hidden_field_with_options
assert_dom_equal '<input id="post_title" name="post[title]" type="hidden" value="Something Else" />',
hidden_field("post", "title", :value => "Something Else")
end
Something went wrong with that request. Please try again.