repo.or.cz
/
botlist.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
adding all of botlist, initial add
[botlist.git]
/
openbotlist
/
WEB-INF
/
lib
/
ruby
/
rspec
/
lib
/
spec
/
story
/
given_scenario.rb
blob
88c51f98118a98f51c7391940683077058d7e9e8
1
module 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
14
end