Sha256: 85bb3b8a0be6993ddd972fbdf0358aa70ce8db95b11b0bf8795db8dcbd1aeb1c

Contents?: true

Size: 403 Bytes

Versions: 30

Compression:

Stored size: 403 Bytes

Contents

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

Version data entries

30 entries across 30 versions & 2 rubygems

Version Path
activesupport-4.0.13 lib/active_support/testing/pending.rb
activesupport-4.0.13.rc1 lib/active_support/testing/pending.rb
activesupport-4.0.11.1 lib/active_support/testing/pending.rb
activesupport-4.0.12 lib/active_support/testing/pending.rb
activesupport-4.0.11 lib/active_support/testing/pending.rb
activesupport-4.0.10 lib/active_support/testing/pending.rb
activesupport-4.0.10.rc2 lib/active_support/testing/pending.rb
activesupport-4.0.10.rc1 lib/active_support/testing/pending.rb
activesupport-4.0.9 lib/active_support/testing/pending.rb
activesupport-4.0.8 lib/active_support/testing/pending.rb
activesupport-4.0.7 lib/active_support/testing/pending.rb
activesupport-4.0.6 lib/active_support/testing/pending.rb
activesupport-4.0.6.rc3 lib/active_support/testing/pending.rb
activesupport-4.0.6.rc2 lib/active_support/testing/pending.rb
activesupport-4.0.6.rc1 lib/active_support/testing/pending.rb
activesupport-4.0.5 lib/active_support/testing/pending.rb
activesupport-4.0.4 lib/active_support/testing/pending.rb
activesupport-4.0.4.rc1 lib/active_support/testing/pending.rb
activesupport-4.0.3 lib/active_support/testing/pending.rb
activesupport-4.0.2 lib/active_support/testing/pending.rb