We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46615f5 commit 959e119Copy full SHA for 959e119
test/xml_column_test_methods.rb
@@ -30,9 +30,7 @@ def test_use_xml_column
30
assert xml_model = XmlModel.first
31
32
unless xml_sql_type =~ /text/i
33
- require 'rexml/document'
34
- doc = REXML::Document.new xml_model.xml_col
35
- assert_equal "Rubyist's <3 XML!", doc.root.elements.first.text
+ assert_equal "<xml><LoVE><![CDATA[Rubyist's <3 XML!]]></LoVE></xml>", xml_model.xml_col
36
end
37
38
xml_model.xml_col = nil
0 commit comments