Sha256: 30e789f07c0f052a64fd3a0f6a0fc26075fd8ca19e76e0587d0c0b3ef0490992
Contents?: true
Size: 500 Bytes
Versions: 79
Compression:
Stored size: 500 Bytes
Contents
module Spec module Example module Pending def pending(message = "TODO") if block_given? begin yield rescue Exception => e 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
79 entries across 79 versions & 12 rubygems