aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails_generator/generators/components/integration_test
diff options
context:
space:
mode:
Diffstat (limited to 'railties/lib/rails_generator/generators/components/integration_test')
-rw-r--r--railties/lib/rails_generator/generators/components/integration_test/USAGE16
1 files changed, 5 insertions, 11 deletions
diff --git a/railties/lib/rails_generator/generators/components/integration_test/USAGE b/railties/lib/rails_generator/generators/components/integration_test/USAGE
index d1ed71a408..09e2691f69 100644
--- a/railties/lib/rails_generator/generators/components/integration_test/USAGE
+++ b/railties/lib/rails_generator/generators/components/integration_test/USAGE
@@ -1,14 +1,8 @@
Description:
- The model generator creates a stub for a new integration test.
-
- The generator takes an integration test name as its argument. The test
- name may be given in CamelCase or under_score and should not be suffixed
- with 'Test'.
-
- The generator creates an integration test class in test/integration.
+ Stubs out a new integration test. Pass the name of the test, either
+ CamelCased or under_scored, as an argument. The new test class is
+ generated in test/integration/testname_test.rb
Example:
- ./script/generate integration_test GeneralStories
-
- This will create a GeneralStores integration test:
- test/integration/general_stories_test.rb
+ `./script/generate integration_test GeneralStories` creates a GeneralStories
+ integration test in test/integration/general_stories_test.rb