aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/url_helper_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2013-07-06 09:04:36 -0700
committerRafael Mendonça França <rafaelmfranca@gmail.com>2013-07-06 09:04:36 -0700
commit03c2cd67bde795bdfd3578331324f886ddf9f266 (patch)
tree9ef94db5c0fd2bf674e5ac5d01ebd0c99b9c03e2 /actionview/test/template/url_helper_test.rb
parentebabdfbc2cf6629ef02205cf5047c9b30f76f49c (diff)
parent56e3419fef2aff400867787b9fff06aededed9b2 (diff)
downloadrails-03c2cd67bde795bdfd3578331324f886ddf9f266.tar.gz
rails-03c2cd67bde795bdfd3578331324f886ddf9f266.tar.bz2
rails-03c2cd67bde795bdfd3578331324f886ddf9f266.zip
Merge pull request #11332 from sanemat/fix/av-test-duplication
Remove actionview test duplication
Diffstat (limited to 'actionview/test/template/url_helper_test.rb')
-rw-r--r--actionview/test/template/url_helper_test.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/actionview/test/template/url_helper_test.rb b/actionview/test/template/url_helper_test.rb
index 8373d7f992..54747fe079 100644
--- a/actionview/test/template/url_helper_test.rb
+++ b/actionview/test/template/url_helper_test.rb
@@ -336,8 +336,6 @@ class UrlHelperTest < ActiveSupport::TestCase
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 @@ class UrlHelperTest < ActiveSupport::TestCase
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 = {})