Library providing tools for writing and running RSpec tests.
DSL for defining memoized helpers for deferred examples.
.extended(other) => Object
Callback invoked when the module is extended into another module or class.
Defines a HelperImplementations module on the module and includes it in the module.
#call(example_group) => void
Invokes the deferred examples on the given example group.
#let(helper_name = nil, &block) => void
Defines a memoized helper.
#let!(helper_name = nil, &block) => void
Defines a memoized helper and adds a hook to evaluate it before examples.
#let?(helper_name, &block) => void
Defines an optional memoized helper.
The helper will use the parent value if defined; otherwise, will use the given value.
#subject(helper_name = nil, &block) => void
Defines a memoized subject helper.
#subject!(helper_name = nil, &block) => void
Defines a memoized subject helper and adds a hook to evaluate it.
Back to Documentation | Versions | 2.8.1 | Reference | RSpec | RSpec::SleepingKingStudios | RSpec::SleepingKingStudios::Deferred | RSpec::SleepingKingStudios::Deferred::Dsl