Sha256: e3886b1c42b5fe22b82763553d5bf5f711508a00357db3d667ddbeb94cc95c8a
Contents?: true
Size: 389 Bytes
Versions: 9
Compression:
Stored size: 389 Bytes
Contents
module RSpec module Core # If Test::Unit is loaed, we'll use its error as baseclass, so that Test::Unit # will report unmet RSpec expectations as failures rather than errors. superclass = ['Test::Unit::AssertionFailedError', '::StandardError'].map do |c| eval(c) rescue nil end.compact.first class PendingExampleFixedError < superclass end end end
Version data entries
9 entries across 9 versions & 1 rubygems