[rspec-users] Rspec2 / Rails3 / test_unit

Arco akleak at gmail.com
Fri Jul 2 12:11:19 EDT 2010


I generate a new rails3 app using "rails new my_app -T".

Then i run "cd my_app ; rails generate", and I don't see any test_unit
options. (as expected).

Then I put "gem 'rspec-rails'" into my Gemfile, and re-run "rails
generate".

Now I see options for test_unit.
TestUnit:
  test_unit:controller
  test_unit:helper
  test_unit:integration
  ...

Why does it show options for test_unit?  Is this expected?

Tx, Andy

Rails Beta4, Rspec Beta15, Ruby 1.8.7, Ubuntu 10.04


More information about the rspec-users mailing list