lib/lopata/scenario.rb in lopata-0.1.2 vs lib/lopata/scenario.rb in lopata-0.1.3

- old
+ new

@@ -47,9 +47,10 @@ @status = :running world.notify_observers(:scenario_started, self) steps_in_running_order.each(&method(:run_step)) @status = steps.any?(&:failed?) ? :failed : :passed world.notify_observers(:scenario_finished, self) + @scenario = nil # cleanup memory after scenario executon end def run_step(step) return if step.skipped? @current_step = step