guard/guard-rspec — pull request #96 by e2 (2012-03-01 23:15:53+00:00)
Title: handle specs for lib/*.rb files when no spec/lib

The mapping lib/foo.rb -> spec/lib/foo.rb is common for rails apps.

Many gems have lib/foo.rb -> spec/foo.rb instead, and some tools expect this
(vim-rake + :A , for example).

Even the guard-rspec specs :)

SOLUTION: handle both (spec/lib/foo.rb, spec/foo.rb)

I didn't provide tests because:

- there are no tests for the Guardfile template

- the tests don't run on my setup (recent gems)

- don't have time at this moment

Anyway, thanks for the gem.