Method: RSpec::Core::ExampleGroup.specify
- Defined in:
- lib/rspec/core/example_group.rb
.specify ⇒ void .specify(&example_implementation) ⇒ void .specify(doc_string, *metadata) ⇒ void .specify(doc_string, *metadata, &example_implementation) ⇒ void
Defines an example within a group.
Useful for when your docstring does not read well off of it
.
170 |
# File 'lib/rspec/core/example_group.rb', line 170 define_example_method :specify |