[rspec-users] RSpec 2 not finding specs from subdirectories when trying to run specs from there
dchelimsky at gmail.com
Wed Jun 1 10:24:24 EDT 2011
On Jun 1, 2011, at 9:14 AM, Jarmo Pertman wrote:
> When having a file structure like this:
> and then being in directory "project" and running command `rspec spec`
> everything works as expected. If running `rspec spec/subdir` to run
> only specs under spec/subdir then it doesn't work - it finds 0
> examples. It works as expected in RSpec 1. What do we do wrong?
I run subdirectories quite often and haven't seen this issue. What's in your .rspec and spec/spec_helper.rb files? Also, which version of rspec-2 are you using?
More information about the rspec-users