spec/models/rule_spec.rb in marty-2.3.9 vs spec/models/rule_spec.rb in marty-2.3.10

- old
+ new

@@ -365,11 +365,11 @@ "flavor"=>"cherry"} v1 = r6.compute(input) begin v2 = r7.compute(input) rescue Marty::DeloreanRule::ComputeError => e - exp = 'no implicit conversion of Fixnum into String' + exp = 'no implicit conversion of Integer into String' expect(e.message).to include(exp) expres = [/DELOREAN__XyzRule_\d+_1483228800.0:23:in .+'/, /DELOREAN__XyzRule_\d+_1483228800.0:23:in .tmp_var4__D'/, /DELOREAN__XyzRule_\d+_1483228800.0:27:in .bv__D'/] expres.each_with_index do |expre, i| @@ -418,10 +418,10 @@ "dgparams"=>{"p1"=>12, "p2"=>3, "pt"=>ptjson, "flavor"=>"cherry"}, "res_keys"=>["bv", "grid1_grid_result"], "err_section"=>"results", - "err_message"=>"no implicit conversion of Fixnum into String"} + "err_message"=>"no implicit conversion of Integer into String"} expect(log_ents[1].details.except('err_stack')).to eq(exp) expres = [/DELOREAN__XyzRule_\d+_1483228800.0:23:in .+'/, /DELOREAN__XyzRule_\d+_1483228800.0:23:in .tmp_var4__D'/, /DELOREAN__XyzRule_\d+_1483228800.0:27:in .bv__D'/] expres.each_with_index do |expre, i|