Permalink
Browse files

explain a bit about how generators work

  • Loading branch information...
dchelimsky committed Aug 20, 2010
1 parent 393a06e commit 5d3ca6b1962df6025973f5f0d4e92886bceae9ea
Showing with 5 additions and 2 deletions.
  1. +5 −2 README.markdown
View
@@ -29,10 +29,13 @@ tasks without having to type `RAILS_ENV=test`.
Now you can run:
- script/rails g rspec:install
+ script/rails generate rspec:install
This adds the spec directory and some skeleton files, including
-the "rake spec" task.
+the "rake spec" task. Note that this is the only rspec generator you'll
+actually see. That's because RSpec is registered with Rails as the test
+framework, so whenever you generate application components like models,
+controllers, etc, RSpec specs are generated instead of Test::Unit tests.
### Webrat and Capybara

0 comments on commit 5d3ca6b

Please sign in to comment.