ruby - How to suppress displaying pending (skipped) specs in RSpec? -


i have several skipped specs.

pending: (failures listed here expected , not affect suite's status)  1) ...    # not yet implemented    # ./spec/requests/request_spec.rb:22 

how suppress output of pending specs?

you can replacing "it" in test header "xit".

it "returns true"     1.should == 1 end 

replace with:

xit "returns true"     1.should == 1 end 

adding x before skip test.