spec/rspreadsheet_spec.rb in rspreadsheet-0.4.4 vs spec/rspreadsheet_spec.rb in rspreadsheet-0.4.5
- old
+ new
@@ -46,11 +46,10 @@
LibXML::XML::Document.io zip.get_input_stream('content.xml')
end
@content_xml2.root.first_diff(@content_xml1.root).should be_nil
@content_xml1.root.first_diff(@content_xml2.root).should be_nil
-
- @content_xml1.root.should == @content_xml2.root
+ @content_xml1.root.to_s.should == @content_xml2.root.to_s
end
it 'when open and save file modified, than the file is different' do
book = Rspreadsheet.new($test_filename) # open test file
book.worksheets(1).rows(1).cells(1).value.should_not == 'xyzxyz'