guard/guard-rspec — pull request #64 by jcoene (2011-11-02 18:27:15+00:00)
Title: Include gherkin .feature files

I was playing with [Turnip](/jnicklas/turnip), which allows the running of Gherkin .feature files through rspec. As it allows rspec to treat any .feature file just as a _spec.rb, I expected guard-rspec to pick them up automatically.

As it turns out, there's a very specific filter in the guard-rspec inspector to include only `**/*_spec.rb` files. I've made a simple modification to include `**/*.feature` files in the list of files that can be run.

I'm not sure if this is an appropriate implementation for all users of the library or if this should be externalized to another module. It worked for me and I thought I'd see if you're interested in pulling it into master.

Thanks!

Jason