summaryrefslogtreecommitdiff
path: root/spec/mspec/lib/mspec/guards/quarantine.rb
blob: ec4d01f9eaaedd5403b7f9690d802211c4fb2bdd (plain)
1
2
3
4
5
6
7
8
9
10
11
require 'mspec/guards/guard'

class QuarantineGuard < SpecGuard
  def match?
    true
  end
end

def quarantine!(&block)
  QuarantineGuard.new.run_unless(:quarantine!, &block)
end