Sha256: 22666fef61c5a54b5baa8257da22ba762a4abd7aaa903462fac25a72624217b7
Contents?: true
Size: 730 Bytes
Versions: 4
Compression:
Stored size: 730 Bytes
Contents
module Spec module Runner module Formatter class FailingBehavioursFormatter < BaseTextFormatter def add_behaviour(behaviour_name) if behaviour_name =~ /(.*) \(druby.*\)$/ @behaviour_name = $1 else @behaviour_name = behaviour_name end end def example_failed(example, counter, failure) unless @behaviour_name.nil? @output.puts @behaviour_name @behaviour_name = nil @output.flush end end def dump_failure(counter, failure) end def dump_summary(duration, example_count, failure_count, pending_count) end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems