diff options
author | José Valim <jose.valim@gmail.com> | 2011-10-24 01:48:32 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-10-24 01:48:32 -0700 |
commit | 0e8a4b3e57ad4440cc0e4b3b15330346777cb09c (patch) | |
tree | 8a785e22341fc23cbe8f87695529d3ce7ddc6c2e /actionpack/test/template | |
parent | e75c18bff811b95e12634cdbf04df244a227d46d (diff) | |
parent | 244dcfea477ace65963b41de122f7dab7904900b (diff) | |
download | rails-0e8a4b3e57ad4440cc0e4b3b15330346777cb09c.tar.gz rails-0e8a4b3e57ad4440cc0e4b3b15330346777cb09c.tar.bz2 rails-0e8a4b3e57ad4440cc0e4b3b15330346777cb09c.zip |
Merge pull request #3416 from arunagw/rbx_test_fixes
ActionPack test fix for RBX
Diffstat (limited to 'actionpack/test/template')
-rw-r--r-- | actionpack/test/template/html-scanner/tag_node_test.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/actionpack/test/template/html-scanner/tag_node_test.rb b/actionpack/test/template/html-scanner/tag_node_test.rb index 0d87f1bd42..3b72243e7d 100644 --- a/actionpack/test/template/html-scanner/tag_node_test.rb +++ b/actionpack/test/template/html-scanner/tag_node_test.rb @@ -55,7 +55,12 @@ class TagNodeTest < Test::Unit::TestCase def test_to_s node = tag("<a b=c d='f' g=\"h 'i'\" />") - assert_equal %(<a b="c" d="f" g="h 'i'" />), node.to_s + node = node.to_s + assert node.include?('a') + assert node.include?('b="c"') + assert node.include?('d="f"') + assert node.include?('g="h') + assert node.include?('i') end def test_tag |