spec/xml_tied_spec.rb in rspreadsheet-0.4.8 vs spec/xml_tied_spec.rb in rspreadsheet-0.4.9
- old
+ new
@@ -17,10 +17,10 @@
expect {tx.xmlnode}.to raise_error
end
it 'raises when prepare_empty_xmlnode fails in insert_new_empty_subnode_before' do
class TestXMLTiedArray
- def subitem_xml_options; {} end
+ def subnode_options; {} end
def xmlnode; nil end
end
tx = TestXMLTiedArray.new
expect {tx.insert_new_empty_subnode_before(0)}.to raise_error IndexError