Class | Spec::Runner::Formatter::SpecdocFormatter |
In: |
lib/spec/runner/formatter/specdoc_formatter.rb
|
Parent: | BaseTextFormatter |
# File lib/spec/runner/formatter/specdoc_formatter.rb, line 5 5: def add_context(name, first) 6: @output.puts 7: @output.puts name 8: STDOUT.flush 9: end
# File lib/spec/runner/formatter/specdoc_formatter.rb, line 11 11: def spec_failed(name, counter, failure) 12: @output.puts failure.expectation_not_met? ? red("- #{name} (FAILED - #{counter})") : magenta("- #{name} (ERROR - #{counter})") 13: STDOUT.flush 14: end