module RSpec::Proverbs::DocumentationFormatter

Public Class Methods

included(caller) click to toggle source

The documentation formatter of RSpec is one that prints out the descriptive information for each example group.

# 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