1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/lib/active_support/testing/pending.rb

20 lines
386 B
Ruby

# Some code from jeremymcanally's "pending"
# https://github.com/jeremymcanally/pending/tree/master
module ActiveSupport
module Testing
module Pending
unless defined?(Spec)
@@pending_cases = []
@@at_exit = false
def pending(description = "", &block)
skip(description.blank? ? nil : description)
end
end
end
end
end