Skip to content

Commit 959e119

Browse files
committed
REXML no longer in Ruby proper
1 parent 46615f5 commit 959e119

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/xml_column_test_methods.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ def test_use_xml_column
3030
assert xml_model = XmlModel.first
3131

3232
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
33+
assert_equal "<xml><LoVE><![CDATA[Rubyist's <3 XML!]]></LoVE></xml>", xml_model.xml_col
3634
end
3735

3836
xml_model.xml_col = nil

0 commit comments

Comments
 (0)