# File lib/ci/reporter/rspec.rb, line 58 def failure? exception.is_a?(::RSpec::Expectations::ExpectationNotMetError) end
# File lib/ci/reporter/rspec.rb, line 62 def location() output = [] output.push "#{exception.class.name << ":"}" unless exception.class.name =~ /RSpec/ output.push @exception.message @formatter.format_backtrace(@exception.backtrace, @example).each do |backtrace_info| output.push " #{backtrace_info}" end output.join "\n" end
Generated with the Darkfish Rdoc Generator 2.