method

run_story_ignoring_scenarios

rspec latest stable - Class: Spec::Story::Runner::ScenarioRunner

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.12) is shown here.

run_story_ignoring_scenarios(story, world)
private

No documentation available.

# File lib/spec/story/runner/scenario_runner.rb, line 40
        def run_story_ignoring_scenarios(story, world)
          class << world
            def Scenario(name, &block)
              # do nothing
            end
          end
          story.run_in(world)
          class << world
            remove_method(:Scenario)
          end
        end