[rspec-users] Basic Rspec operation questions

Wes Gamble weyus at att.net
Wed Oct 8 15:15:14 EDT 2008


With Rails, is "rake spec" supposed to automatically run under the test 
environment?  I have to do "rake spec RAILS_ENV=test" in order to get 
the environments/test.rb file to load.

Also, are the standard Test::Unit fixtures automatically loaded before 
each test in each spec file?  This appears to be the case based on my 
current spec's behavior, but wanted to verify.

Thanks,
Wes


More information about the rspec-users mailing list