Class Spec::Runner::Formatter::FailingBehavioursFormatter
In: lib/spec/runner/formatter/failing_behaviours_formatter.rb
Parent: BaseTextFormatter

Methods

Public Instance methods

[Source]

    # File lib/spec/runner/formatter/failing_behaviours_formatter.rb, line 5
 5:         def add_behaviour(behaviour_name)
 6:           if behaviour_name =~ /(.*) \(druby.*\)$/
 7:             @behaviour_name = $1
 8:           else
 9:             @behaviour_name = behaviour_name
10:           end
11:         end

[Source]

    # File lib/spec/runner/formatter/failing_behaviours_formatter.rb, line 21
21:         def dump_failure(counter, failure)
22:         end

[Source]

    # File lib/spec/runner/formatter/failing_behaviours_formatter.rb, line 24
24:         def dump_summary(duration, example_count, failure_count, pending_count)
25:         end

[Source]

    # File lib/spec/runner/formatter/failing_behaviours_formatter.rb, line 13
13:         def example_failed(example, counter, failure)
14:           unless @behaviour_name.nil?
15:             @output.puts @behaviour_name 
16:             @behaviour_name = nil
17:             @output.flush
18:           end
19:         end

[Validate]