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

David Chelimsky dchelimsky at gmail.com
Sat Jun 5 15:33:03 EDT 2010


On Jun 5, 2010, at 3:12 PM, David Chelimsky wrote:

> 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.

http://github.com/rspec/rspec-core/commit/8a5486ac1f0c13fdbbb64ac4bcd9529c21743e35


More information about the rspec-users mailing list