jfirebaugh/konacha — pull request #41 by kevgo (2012-05-31 22:19:20+00:00)
Title: Adds the ability to traverse symlinked directories when discovering specs.

Hey John,

I'm working on an extension to Rails that contains konacha tests in a directory outside of _spec/javascripts_. I include those tests by symlinking the directory with the tests into _spec/javascripts_, so that it appears as a directory there. By default, however, Ruby does not look inside it, because it is a symlink.

Fortunately, the solution is pretty easy, an enhancement to the globbing expression in `spec_paths`. I have added a unit test that reproduces the issue and a fix.

I think this might be useful to other people as well, and it doesn't break anything already existing, so having this in konacha directly would be great.

Thanks for making the most awesome unit testing tool for CoffeeScript and Rails today!
Kevin