# File lib/spec/story/world.rb, line 46 def run_given_scenario_with_suspended_listeners(world, type, name, scenario) current_listeners = Array.new(listeners) begin listeners.each { |l| l.found_scenario(type, name) } @listeners.clear scenario.perform(world, name) unless dry_run ensure @listeners.replace(current_listeners) end end