changelog shortlog tags changeset manifest revisions annotate raw

vendor/plugins/rspec/lib/spec/story/given_scenario.rb

changeset 15: 64acf98d15f4
author: moriq@moriq.com
date: Mon Mar 10 10:12:58 2008 +0900 (16 years ago)
permissions: -rw-r--r--
description: add plugins rspec
1module Spec
2 module Story
3 class GivenScenario
4 def initialize(name)
5 @name = name
6 end
7
8 def perform(instance, ignore_name)
9 scenario = Runner::StoryRunner.scenario_from_current_story(@name)
10 Runner::ScenarioRunner.new.run(scenario, instance)
11 end
12 end
13 end
14end