mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
14 lines
403 B
Ruby
14 lines
403 B
Ruby
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
|