aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2015-05-05 09:21:55 +0200
committerYves Senn <yves.senn@gmail.com>2015-05-05 09:55:05 +0200
commit918aa6e87813c5c7687e5d460c5cd62ba3919536 (patch)
tree7256a12091e7db2623f276f5cbd5081551c82499 /actionview/test
parent6b9e0dc662783e4de964102396a84cd4297598f3 (diff)
downloadrails-918aa6e87813c5c7687e5d460c5cd62ba3919536.tar.gz
rails-918aa6e87813c5c7687e5d460c5cd62ba3919536.tar.bz2
rails-918aa6e87813c5c7687e5d460c5cd62ba3919536.zip
use the right assertions.
Prompted by: https://github.com/rails/rails/commit/e38dd7bfa4360e241eadf0cf44abdf86ea33a393#commitcomment-11011496 /cc @kuldeepaggarwal
Diffstat (limited to 'actionview/test')
-rw-r--r--actionview/test/template/url_helper_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionview/test/template/url_helper_test.rb b/actionview/test/template/url_helper_test.rb
index 9ba837d4e7..0e35c67516 100644
--- a/actionview/test/template/url_helper_test.rb
+++ b/actionview/test/template/url_helper_test.rb
@@ -485,8 +485,8 @@ class UrlHelperTest < ActiveSupport::TestCase
end
def test_link_to_unless_with_block
- assert_equal %{<a href="/">Showing</a>}, link_to_unless(false, "Showing", url_hash) { "Fallback" }
- assert_dom_equal "Fallback", link_to_unless(true, "Listing", url_hash) { "Fallback" }
+ assert_dom_equal %{<a href="/">Showing</a>}, link_to_unless(false, "Showing", url_hash) { "Fallback" }
+ assert_equal "Fallback", link_to_unless(true, "Listing", url_hash) { "Fallback" }
end
def test_mail_to