spec/support/matchers.rb in ruby_speech-1.0.1 vs spec/support/matchers.rb in ruby_speech-1.0.2
- old
+ new
@@ -16,10 +16,10 @@
def subject=(s)
if s.is_a? Nokogiri::XML::Document
@subject = s
else
doc = Nokogiri::XML::Document.new
- doc << s
+ doc << s.to_xml
@subject = doc
end
end
def failure_message