[rspec-users] RSpec 2 not finding specs from subdirectories when trying to run specs from there

Jarmo Pertman jarmo.p at gmail.com
Wed Jun 1 10:14:50 EDT 2011


Hi!

When having a file structure like this:
project
  -spec
    -subdir
      -my_spec.rb

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?

Jarmo


More information about the rspec-users mailing list