Rspec and Generators

A fantastic tip posted by Catherine Powell on Rspec and Generators a couple days ago:
When working in Rails, I use the generators as easy ways to create models with migrations, and whatnot. I got used to running my generators with "--rspec" since that's the test framework I'm using currently.

I can save myself some time by adding this to my application.rb:

[sourcecode language="rails"]
config.generators do |g|
g.test_framework :rspec
end
[/sourcecode]