On Jun 1, 2011, at 9:57 AM, Jarmo Pertman wrote: > It is indeed related with Windows! > > C:\Users\jarmo\Desktop\minu\projects\Ruby\myproject>rspec spec/subdir > . > > Finished in 0.0045 seconds > 1 example, 0 failures > > C:\Users\jarmo\Desktop\minu\projects\Ruby\myproject>rspec spec\subdir > No examples found. > > > Finished in 0 seconds > 0 examples, 0 failures > > C:\Users\jarmo\Desktop\minu\projects\Ruby\myproject>spec spec\subdir > . > > Finished in 0.040505 seconds > > 1 example, 0 failures > > C:\Users\jarmo\Desktop\minu\projects\Ruby\myproject>spec spec/subdir > . > > Finished in 0.040505 seconds > > 1 example, 0 failures > > It needs path to be specified with unix-slashes...
Please do me a favor and report this to http://github.com/rspec/rspec-core/issues. Thx > > Jarmo > > On Jun 1, 5:24 pm, David Chelimsky <dchelim...@gmail.com> wrote: >> On Jun 1, 2011, at 9:14 AM, Jarmo Pertman wrote: >> >>> 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? >> >> 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? >> _______________________________________________ >> rspec-users mailing list >> rspec-us...@rubyforge.orghttp://rubyforge.org/mailman/listinfo/rspec-users > _______________________________________________ > rspec-users mailing list > rspec-users@rubyforge.org > http://rubyforge.org/mailman/listinfo/rspec-users _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users