Search code examples
ruby-on-railsrspecguardzeus

Is there a way to keep Guard from ever running my entire spec?


I'm using Guard along with Zeus and RSpec for testing a Rails 3.2.16 application. When I change an RSpec support file, Guard wants to re-run the whole spec. I really would like to turn that behavior off. I'd like to only run the whole spec by hand, and just let Guard pick up changes to my individual specs.


Solution

  • You need to change the watchers. From the default template just remove

    watch('spec/spec_helper.rb')  { "spec" }