Method: RSpec::Core::ExampleGroup.focus
- Defined in:
- lib/rspec/core/example_group.rb
.focus ⇒ void .focus(&example_implementation) ⇒ void .focus(doc_string, *metadata) ⇒ void .focus(doc_string, *metadata, &example_implementation) ⇒ void
Shortcut to define an example with :focus => true
.
174 |
# File 'lib/rspec/core/example_group.rb', line 174 define_example_method :focus, :focus => true |