spec/worksheet_spec.rb in rspreadsheet-0.4.4 vs spec/worksheet_spec.rb in rspreadsheet-0.4.5
- old
+ new
@@ -6,9 +6,10 @@
before do
@sheet = Rspreadsheet.new($test_filename).worksheets(1)
end
it 'contains nonempty xml in rows for testfile' do
@sheet.rows(1).xmlnode.elements.size.should be >1
+ @sheet.rows(1).xml.index '<text:p>text</text:p>'
end
it 'uses detach_my_subnode_respect_repeated well' do
@sheet.cell(50,12).mode.should_not == :regular
@sheet.detach_my_subnode_respect_repeated(50)
@sheet.rows(50).detach_my_subnode_respect_repeated(12)