Sha256: 4a0a8b0e44ea310c650f0a9a0941059c61722c57395b296517d5142a5e6fb4b3
Contents?: true
Size: 503 Bytes
Versions: 19
Compression:
Stored size: 503 Bytes
Contents
module Cucumber module World module Pending ## # Mark this step as pending def pending(message = "TODO") if block_given? begin yield rescue Exception => e raise Cucumber::ForcedPending.new(message) end raise Cucumber::ForcedPending.new("Expected pending '#{message}' to fail. No Error was raised.") else raise Cucumber::ForcedPending.new(message) end end end end end
Version data entries
19 entries across 19 versions & 4 rubygems