aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-10-11 00:59:52 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-10-11 01:01:54 +0530
commit26ec070b09ceb798b471fd6999ae1da319120899 (patch)
treea434d96ad06f9fe7a8d2c445696c6036d2e63db3 /guides/source
parent6754777adf02b62535e27298cff1abadc1d11a2d (diff)
downloadrails-26ec070b09ceb798b471fd6999ae1da319120899.tar.gz
rails-26ec070b09ceb798b471fd6999ae1da319120899.tar.bz2
rails-26ec070b09ceb798b471fd6999ae1da319120899.zip
copy edits [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/testing.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md
index 81e93d1701..2680525928 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -225,7 +225,7 @@ TIP: You can see all these rake tasks and their descriptions by running `rake --
Running a test is as simple as invoking the file containing the test cases through Ruby:
```bash
-$ ruby -I test test/unit/post_test.rb
+$ ruby -Itest test/unit/post_test.rb
Loaded suite unit/post_test
Started
@@ -240,7 +240,7 @@ This will run all the test methods from the test case. Note that `test_helper.rb
You can also run a particular test method from the test case by using the `-n` switch with the `test method name`.
```bash
-$ ruby -I test test/unit/post_test.rb -n test_the_truth
+$ ruby -Itest test/unit/post_test.rb -n test_the_truth
Loaded suite unit/post_test
Started