Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "RSpec 2.2.1 compatability (crossroads@f700e05#diff-0)"

This reverts commit eca73f1.
  • Loading branch information...
commit 48d7389f19bace8e7765d889bcd4425e3aab699b 1 parent 30aa3d2
@next2you next2you authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/ci/reporter/rspec.rb
View
6 lib/ci/reporter/rspec.rb
@@ -43,9 +43,9 @@ def error?
!failure?
end
- def name() @example.metadata[:execution_result][:exception].class.name end
- def message() @example.metadata[:execution_result][:exception].message end
- def location() @example.metadata[:execution_result][:exception].backtrace.join("\n") end
+ def name() exception.class.name end
+ def message() exception.message end
+ def location() (exception.backtrace || ["No backtrace available"]).join("\n") end
end
class RSpec2Failure < RSpecFailure
Please sign in to comment.
Something went wrong with that request. Please try again.