Module: Maxitest::XitMethod

Defined in:
lib/maxitest/xit.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



13
14
15
# File 'lib/maxitest/xit.rb', line 13

def self.included(base)
  base.extend(self)
end

Instance Method Details

#xit(*args) ⇒ Object



5
6
7
8
9
10
11
# File 'lib/maxitest/xit.rb', line 5

def xit(*args)
  describe 'skip' do
    define_method(:setup) {}
    define_method(:teardown) {}
    it(*args)
  end
end