Module: ActiveSupport::Testing::Pending

Included in:
ActiveSupport::TestCase
Defined in:
lib/active_support/testing/pending.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#pending(description = "", &block) ⇒ Object



7
8
9
10
# File 'lib/active_support/testing/pending.rb', line 7

def pending(description = "", &block)
  ActiveSupport::Deprecation.warn("#pending is deprecated and will be removed in Rails 4.1, please use #skip instead.")
  skip(description.blank? ? nil : description)
end