Permalink
Browse files

Remove action view test duplication

Same test exists above 2 or 3 lines.
  • Loading branch information...
1 parent ebabdfb commit 56e3419fef2aff400867787b9fff06aededed9b2 @sanemat sanemat committed Jul 6, 2013
Showing with 0 additions and 3 deletions.
  1. +0 −3 actionview/test/template/url_helper_test.rb
@@ -336,8 +336,6 @@ def test_link_to_unless
assert_dom_equal %{<a href="/">Listing</a>},
link_to_unless(false, "Listing", url_hash)
- assert_equal "Showing", link_to_unless(true, "Showing", url_hash)
-
assert_equal "<strong>Showing</strong>",
link_to_unless(true, "Showing", url_hash) { |name|
"<strong>#{name}</strong>".html_safe
@@ -357,7 +355,6 @@ def test_link_to_unless
def test_link_to_if
assert_equal "Showing", link_to_if(false, "Showing", url_hash)
assert_dom_equal %{<a href="/">Listing</a>}, link_to_if(true, "Listing", url_hash)
- assert_equal "Showing", link_to_if(false, "Showing", url_hash)
end
def request_for_url(url, opts = {})

0 comments on commit 56e3419

Please sign in to comment.