Flowdock
method

failure

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Runner::Reporter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.12) is shown here.

failure(example, error) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/runner/reporter.rb, line 35
      def failure(example, error)
        backtrace_tweaker.tweak_backtrace(error)
        failure = Failure.new(example, error)
        @failures << failure
        formatters.each do |f|
          f.example_failed(example, @failures.length, failure)
        end
      end
Register or log in to add new notes.