Permalink
Browse files

Merge pull request #11332 from sanemat/fix/av-test-duplication

Remove actionview test duplication
  • Loading branch information...
2 parents ebabdfb + 56e3419 commit 03c2cd67bde795bdfd3578331324f886ddf9f266 @rafaelfranca rafaelfranca 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 03c2cd6

Please sign in to comment.