test/unit/bandeiras_operacoes_test.rb in cieloz-0.0.8 vs test/unit/bandeiras_operacoes_test.rb in cieloz-0.0.9
- old
+ new
@@ -17,9 +17,8 @@
assert_equal [bandeira, :autorizacao_direta], res
end
end
it "disallows unsupported products" do
- error = lambda { _.operacao("anything else") }.must_raise RuntimeError
- error.message.must_match /product_not_supported/
+ assert_equal [nil, nil], _.operacao("anything else")
end
end