On Nov 12, 2011, at 9:12 PM, "Cynthia N. Kiser" <c...@ugcs.caltech.edu> wrote:

> I am following the examples in chapter 2 of "Rails 3 in Action" and
> for some reason I have to specify the full path + file name to get my
> specs to run. The book and rspec docs led me to believe that I should
> be able to just type 'rspec' and rspec would find any spec files in a
> directory called spec. I even tried adding a .rspec file with
> "--default_path spec" in the directory from which I am running
> rspec. No luck with that either.
> 
> I am using RSpec 2.7.0 and Ruby 1.9.2 under RVM. 
> 
> 
> My directory structure is:
> 
> bacon
>    lib
>        bacon.rb
>    spec
>        bacon.spec

Make this bacon_spec.rb

HTH,

David
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to