I have test-unit installed and rspec installed (along with -core, -expectations, -mocks and -rails version 2.6.x). When I run the command rails new foo, it uses test-unit to generate the test stub files instead of rspec.
Is there an option where I can tell rails to use rspec to generate the tests instead?
The following should work:
rails new MYAPP -T # The -T option tells rails not to include Test::Unit
gem 'rspec-rails'
bundle install
rails g rspec:install