lib/rast/rules/rule_validator.rb in rast-0.1.2.pre vs lib/rast/rules/rule_validator.rb in rast-0.3.0.pre

- old
+ new

@@ -30,10 +30,10 @@ # binding.pry matched_outputs = [] match_count = 0 - rule_result.map { |result| result == 'true' }.each_with_index do |result, i| + rule_result.map { |result| result.to_s == 'true' }.each_with_index do |result, i| next unless result match_count += 1 matched_outputs << spec.rule.outcomes[i] end