rspec/rspec-rails — Issue #498: IntegrationTest generated
Author: TMorgan99
Created: 2012-01-29 17:27:06+00:00
State: open

I don't know when this happened, but in Rails 321, generate scaffold invokes rspec, which in turn invokes test_unit for the integration test stub file. This creates a whole test directory.

The help shows
--integration-tool=NAME Default: test_unit

So this could be fixed by supplying a template
or turning it off in config/application as follows

config.generators do |g|
g.integration_tool false
end

What do you think?