lib/rast/parameter_generator.rb in rast-0.6.0.pre vs lib/rast/parameter_generator.rb in rast-0.6.1.pre
- old
+ new
@@ -47,10 +47,10 @@
exclude_clause = spec.exclude_clause
rule_evaluator = RuleEvaluator.new(converters: spec.converters)
rule_evaluator.parse(expression: exclude_clause)
- rule_evaluator.evaluate(scenario: scenario, rule_token_convert: spec.converters) == "false"
+ rule_evaluator.evaluate(scenario: scenario, rule_token_convert: spec.token_converter) == "false"
end
# add all fixtures to the list.
def add_fixtures(scenarios: [], spec: nil, list: [])
validator = RuleValidator.new