method
example_failed
1.1.12 -
Show latest stable
-
0 notes -
Class: Spec::Runner::Formatter::FailingExampleGroupsFormatter
example_failed(example, counter, failure)
public
Hide source
# File lib/spec/runner/formatter/failing_example_groups_formatter.rb, line 7 def example_failed(example, counter, failure) if @example_group description_parts = @example_group.description_parts.collect do |description| description =~ /(.*) \(druby.*\)$/ ? $1 : description end @output.puts ::Spec::Example::ExampleGroupMethods.description_text(*description_parts) @output.flush @example_group = nil end end