spec/excel_functions_spec.rb in rubyfromexcel-0.0.4 vs spec/excel_functions_spec.rb in rubyfromexcel-0.0.5

- old
+ new

@@ -176,9 +176,10 @@ describe "iferror" do it "should return its second value if there is an error in the first" do FunctionTest.iferror(FunctionTest.index(FunctionTest.a('a1','b3'),3.0,1.0),"Not found").should == 0.0 FunctionTest.iferror(FunctionTest.index(FunctionTest.a('a1','b3'),3.0,3.0),"Not found").should == "Not found" + FunctionTest.iferror(0.0/0.0,"Zero division").should == "Zero division" end end describe "excel_and" do it "should return true if all its arguments are true" do \ No newline at end of file