diff options
-rw-r--r-- | railties/lib/rails/test_unit/runner.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/lib/rails/test_unit/runner.rb b/railties/lib/rails/test_unit/runner.rb index c777091b57..d84f1cf9af 100644 --- a/railties/lib/rails/test_unit/runner.rb +++ b/railties/lib/rails/test_unit/runner.rb @@ -14,6 +14,13 @@ module Rails opts.separator "" opts.separator "Filter options:" + opts.separator "" + opts.separator <<-DESC + You can run a single test by appending the line number to filename: + + bin/rails test test/models/user_test.rb:27 + + DESC opts.on("-n", "--name [NAME]", "Only run tests matching NAME") do |name| |