Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Revert "RSpec 2.2.1 compatability (crossroads@f700e05#diff-0)"
This reverts commit eca73f1.
  • Loading branch information
next2you committed Feb 21, 2012
1 parent 30aa3d2 commit 48d7389
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/ci/reporter/rspec.rb
Expand Up @@ -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
Expand Down

0 comments on commit 48d7389

Please sign in to comment.