Sha256: fd884b1050b29349c3e84876ff8ad9acf9437b1cc4e94a215f14b3683832d95f
Contents?: true
Size: 489 Bytes
Versions: 34
Compression:
Stored size: 489 Bytes
Contents
module Spec module Example module Pending def pending(message = "TODO") if block_given? begin yield rescue Exception raise Spec::Example::ExamplePendingError.new(message) end raise Spec::Example::PendingExampleFixedError.new("Expected pending '#{message}' to fail. No Error was raised.") else raise Spec::Example::ExamplePendingError.new(message) end end end end end
Version data entries
34 entries across 34 versions & 11 rubygems