Module: ManiokBdd::RSpec::DocumentationFormatter

Defined in:
lib/maniok_bdd/rspec/documentation_formatter.rb

Defined Under Namespace

Modules: InstanceMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
10
11
12
13
# File 'lib/maniok_bdd/rspec/documentation_formatter.rb', line 3

def self.included(base)
  base.class_eval do
    include InstanceMethods

    alias :example_started_without_steps :example_started
    alias :example_started :example_started_with_steps

    alias :example_passed_without_steps :example_passed
    alias :example_passed :example_passed_with_steps
  end
end