[rspec-users] spec.opts is deprecated - Using options file with RSpec 2

David Chelimsky dchelimsky at gmail.com
Sat Jun 5 15:12:11 EDT 2010


On Jun 5, 2010, at 3:08 PM, Kristian Mandrup wrote:

> Using RSpec 2 beta.
> 
> $ rspec spec
> 
> * spec/spec.opts is deprecated.
> * please use .rspec or ~/.rspec instead.
> 
> I tried renaming the file to .rspec but then it has no effect!
> 
> # spec/.rspec
> --format nested
> --color
> 
> It works if I copy it to ~/.rspec and it turns out, also if I
> copy .rspec to the root of my application ;)

That's what ".rspec" means. I'll change it to ./.rspec to make that more clear.


More information about the rspec-users mailing list