Module
Spec::Story::World
In:
lib/spec/story/world.rb
Methods
And
Given
GivenScenario
Then
When
add_listener
create
dry_run
errors
errors
listeners
run_given_scenario_with_suspended_listeners
start_collecting_errors
step_mother
step_names
store_and_call
use
Included Modules
::Spec::Example::Pending
::Spec::Matchers
Public Class methods
add_listener
(listener)
create
(cls = Object, *args)
dry_run
()
errors
()
listeners
()
run_given_scenario_with_suspended_listeners
(world, type, name, scenario)
step_mother
()
step_names
()
store_and_call
(world, type, name, *args, &block)
use
(steps)
Public Instance methods
And
(name, *args, &block)
Given
(name, *args, &block)
GivenScenario
(name)
Then
(name, *args, &block)
When
(name, *args, &block)
errors
()
start_collecting_errors
()
[Validate]