Method: RSpec::Core::ExampleGroup.it
- Defined in:
- lib/rspec/core/example_group.rb
permalink .it ⇒ void .it(&example_implementation) ⇒ void .it(doc_string, *metadata) ⇒ void .it(doc_string, *metadata, &example_implementation) ⇒ void
Defines an example within a group. This is the primary API to define a code example.
161 |
# File 'lib/rspec/core/example_group.rb', line 161 define_example_method :it |