blob: b04bbbbaeaad5a532d0ca822ee18dcf62e05e2d2 (
plain) (
tree)
|
|
require 'active_support/deprecation'
module ActiveSupport
module Testing
module Pending # :nodoc:
unless defined?(Spec)
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
end
end
end
end
|