Module: Crspec::DSL
- Defined in:
- lib/crspec/dsl.rb
Instance Method Summary collapse
- #describe(*args, **kwargs, &block) ⇒ Object
- #fdescribe(*args, **kwargs, &block) ⇒ Object (also: #fcontext)
- #shared_examples(name, &block) ⇒ Object (also: #shared_examples_for, #shared_context)
- #xdescribe(*args, **kwargs, &block) ⇒ Object (also: #xcontext)
Instance Method Details
#describe(*args, **kwargs, &block) ⇒ Object
85 86 87 |
# File 'lib/crspec/dsl.rb', line 85 def describe(*args, **kwargs, &block) Crspec.describe(*args, **kwargs, &block) end |
#fdescribe(*args, **kwargs, &block) ⇒ Object Also known as: fcontext
94 95 96 |
# File 'lib/crspec/dsl.rb', line 94 def fdescribe(*args, **kwargs, &block) Crspec.fdescribe(*args, **kwargs, &block) end |
#shared_examples(name, &block) ⇒ Object Also known as: ,
79 80 81 |
# File 'lib/crspec/dsl.rb', line 79 def shared_examples(name, &block) Crspec.shared_examples(name, &block) end |