Module: RSpec::Proverbs::DocumentationFormatter
- Defined in:
- lib/proverbs/rspec/documentation_formatter.rb
Defined Under Namespace
Modules: InstanceMethods
Class Method Summary collapse
-
.included(caller) ⇒ Object
The documentation formatter of RSpec is one that prints out the descriptive information for each example group.
Class Method Details
.included(caller) ⇒ Object
The documentation formatter of RSpec is one that prints out the descriptive information for each example group.
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/proverbs/rspec/documentation_formatter.rb', line 6 def self.included(caller) caller.class_eval do include InstanceMethods alias_method :example_started_without_steps, :example_started alias_method :example_started, :example_started_with_steps alias_method :example_passed_without_steps, :example_passed alias_method :example_passed, :example_passed_with_steps end end |