开发者

Rspec/Spork: Disabling spork for one run

I have --drb set in my .rspec file, which means spork runs by default.

If, however, I want to run through tests once without spork, I either have to modify my 开发者_如何学Python.rspec, or stop spork.

Just wondering - is there some sort of flag such as --drb=false or --no-drb so that I can run tests once without drb?


Just add require 'spork' at the beginning of your spec_helper.rb and it will initialize itself if there's no spork process running

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜