Module: DataObjects::Spec::PendingHelpers
- Defined in:
- lib/data_objects/spec/lib/pending_helpers.rb
Instance Method Summary collapse
Instance Method Details
#pending_if(message, boolean, &block) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/data_objects/spec/lib/pending_helpers.rb', line 4 def pending_if(, boolean, &block) if boolean pending(, &block) else yield end end |