lib/bcdd/result/contract/evaluator.rb in bcdd-result-0.8.0 vs lib/bcdd/result/contract/evaluator.rb in bcdd-result-0.9.0
- old
+ new
@@ -33,10 +33,10 @@
end
private
def for(data)
- case data.name
+ case data.kind
when :unknown then Contract::Disabled
when :success then success
else failure
end
end