lib/remarkable/pending.rb in remarkable-3.0.8 vs lib/remarkable/pending.rb in remarkable-3.0.9

- old
+ new

@@ -1,9 +1,18 @@ module Remarkable module Macros protected - + + # Adds a pending block to your specs. + # + # == Examples + # + # pending 'create manager resource' do + # should_have_one :manager + # should_validate_associated :manager + # end + # def pending(description='TODO', &block) PendingSandbox.new(description, self).instance_eval(&block) end class PendingSandbox < Struct.new(:description, :spec) #:nodoc: