spec/xml_tied_spec.rb in rspreadsheet-0.4.5 vs spec/xml_tied_spec.rb in rspreadsheet-0.4.7
- old
+ new
@@ -23,8 +23,8 @@
def xmlnode; nil end
end
tx = TestXMLTiedArray.new
expect {tx.insert_new_empty_subnode_before(0)}.to raise_error IndexError
- expect {tx.insert_new_empty_subnode_before(1)}.to raise_error /create empty xmlnode/
+ expect {tx.insert_new_empty_subnode_before(1)}.to raise_error(/create empty xmlnode/)
end
-end
\ No newline at end of file
+end