From dfdd24325bd3bdacc887ef5049493dbf812dbf0c Mon Sep 17 00:00:00 2001 From: sanemat Date: Wed, 8 May 2013 20:24:44 +0900 Subject: [PATCH] Use assert_dom_equal instead of assert_equal --- test/standard_renderer_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/standard_renderer_test.rb b/test/standard_renderer_test.rb index 02b71e9..2a01ec7 100644 --- a/test/standard_renderer_test.rb +++ b/test/standard_renderer_test.rb @@ -71,7 +71,7 @@ def test_link_html_options config.microdata = false end - assert_equal('name', + assert_dom_equal('name', renderer.render_crumbs([['name', 'url', {:link_html_options => {:title => 'link title'}}]], :first_class => 'first', :last_class => 'last', :format => :html)) assert_equal('name', @@ -90,7 +90,7 @@ def test_link_html_options_with_microdata config.microdata = true end - assert_equal('
', + assert_dom_equal('
', renderer.render_crumbs([['name', 'url', {:link_html_options => {:title => 'link title'}}]], :first_class => 'first', :last_class => 'last', :format => :html)) assert_equal('
name
',