Sha256: afa0dd0f8ec53a076f6c29a09d57761cc01a3fef16d358cdadb6535dc2f418c6
Contents?: true
Size: 392 Bytes
Versions: 125
Compression:
Stored size: 392 Bytes
Contents
module Spec 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
125 entries across 125 versions & 21 rubygems