我有几个跳过的规格。
Pending: (Failures listed here are expected and do not affect your suite's status)
1) ...
# Not yet implemented
# ./spec/requests/request_spec.rb:22
如何抑制待处理规格的输出?
答案 0 :(得分:-3)
你可以通过替换"它来做到这一点。在" xit"。
的测试标题中it "returns true" do
1.should == 1
end
替换为:
xit "returns true" do
1.should == 1
end
在它之前添加x将跳过此测试。