Module: Spec::Runner::Options::SingleExampleRunner::ExampleGroupHelper
- Defined in:
- lib/deep_test/spec/extensions/options.rb
Instance Method Summary collapse
Instance Method Details
#with_example_objects(example_objects) ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/deep_test/spec/extensions/options.rb', line 31 def with_example_objects(example_objects) original_example_objects = @example_objects @example_objects = example_objects yield ensure @example_objects = original_example_objects end |