Skip to content
Browse files

explain a bit about how generators work

  • Loading branch information...
1 parent 393a06e commit 5d3ca6b1962df6025973f5f0d4e92886bceae9ea @dchelimsky dchelimsky committed
Showing with 5 additions and 2 deletions.
  1. +5 −2 README.markdown
View
7 README.markdown
@@ -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.
Something went wrong with that request. Please try again.