| Class | Spec::Story::StepMother |
| In: |
lib/spec/story/step_mother.rb
|
| Parent: | Object |
# File lib/spec/story/step_mother.rb, line 16
16: def find(type, name)
17: if @steps.find(type, name).nil?
18: @steps.add(type,
19: Step.new(name) do
20: raise Spec::Example::ExamplePendingError.new("Unimplemented step: #{name}")
21: end
22: )
23: end
24: @steps.find(type, name)
25: end
# File lib/spec/story/step_mother.rb, line 12
12: def store(type, step)
13: @steps.add(type, step)
14: end