lib/grumlin/steps.rb in grumlin-0.21.1 vs lib/grumlin/steps.rb in grumlin-0.22.0

- old
+ new

@@ -30,10 +30,12 @@ @configuration_steps = configuration_steps @steps = steps end def add(name, args: [], params: {}) - return add_configuration_step(name, args: args, params: params) if CONFIGURATION_STEPS.include?(name) + if CONFIGURATION_STEPS.include?(name) || name.to_sym == :tx + return add_configuration_step(name, args: args, params: params) + end StepData.new(name, args: cast_arguments(args), params: params).tap do |step| @steps << step end end