guard/guard-minitest — Issue #27: Can't stop guard running spec tests
Author: aspiers
Created: 2012-01-08 20:17:21+00:00
State: open

I currently have a fully passing test-unit/minitest suite in my Rails app, and some rspec tests with known breakage. I plan to migrate to rspec at some point, but until then I want to avoid running the broken rspec tests. When using spork, the `spec: false` option seems to work. However, with [this `Guardfile`](https://gist.github.com/1579497), if I run `guard`, spork starts great, then when I hit Enter to run all tests (because of [this issue](https://github.com/guard/guard-minitest/issues/26)), it tries to run the spec tests (and oddly, the helper files too):

```
Running all tests
Running tests with args ["test/test_helper.rb", "spec/spec_helper.rb", "./test/test_helper.rb", "./test/functional/availabilities_controller_test.rb", "./test/functional/events_controller_test.rb", "./test/functional/people_controller_test.rb", "./test/functional/replies_controller_test.rb", "./test/functional/roles_controller_test.rb", "./test/unit/availability_test.rb", "./test/unit/event_test.rb", "./test/unit/person_test.rb", "./test/unit/role_test.rb", "./test/unit/helpers/links_helper_test.rb", "./test/unit/helpers/replies_helpers_test.rb", "./test/unit/reply_test.rb", "./test/performance/browsing_test.rb", "./spec/models/person_spec.rb"]...
```

This results in a horrible stack trace, and stops me from running all my tests via guard-spork. Am I doing something wrong or is this a bug?