summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2014-05-16 02:32:28 -0600
committerDan Allen <dan.j.allen@gmail.com>2014-05-16 02:32:28 -0600
commitd54440eb5e5651d7c3f0d9400cea210a5b475415 (patch)
tree735dcda5820da6be1cdae4dbb70562ff423da845
parent686e4237a14f1923818ac956a95b4396bb47156b (diff)
update instructions for testing a single method
-rw-r--r--README.adoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.adoc b/README.adoc
index d61be259..388cf0ee 100644
--- a/README.adoc
+++ b/README.adoc
@@ -567,9 +567,9 @@ To run all the tests, simply execute +rake+:
$ rake
-If you want to run a single test file, you can use +testrb+:
+If you want to run a single test file, you can use +ruby+:
- $ testrb test/blocks_test.rb
+ $ ruby test/blocks_test.rb
To test a single test case, first add the string "wip" to the beginning of the description.
For example:
@@ -579,9 +579,9 @@ test 'wip should render ...' do
...
end
-Then, run +testrb+ again, but this time pass a selector argument so it finds matching tests:
+Then, run +ruby+ again, but this time pass a selector argument so it finds matching tests:
- $ testrb test/blocks_test.rb -n /wip/
+ $ ruby test/blocks_test.rb -n /wip/
Once you are done with your test, make sure to remove "wip" from the description and run all the tests again using +rake+.