Sha256: dc228966b82834737bc4d01dc6fa81d01b6e880accbcb113235835e99350acff
Contents?: true
Size: 393 Bytes
Versions: 45
Compression:
Stored size: 393 Bytes
Contents
module RSpec module Expectations # 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 ExpectationNotMetError < superclass end end end
Version data entries
45 entries across 45 versions & 4 rubygems