aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/source/testing_rails_applications.txt
diff options
context:
space:
mode:
authorathonlab <akshay.surve@gmail.com>2008-11-30 17:43:14 +0530
committerathonlab <akshay.surve@gmail.com>2008-11-30 17:43:14 +0530
commitce2eadba597b5257b026da870e3861a5fdf863c7 (patch)
treebb39d86ed81b6519b4adeaca41cf4012a2ccc07f /railties/doc/guides/source/testing_rails_applications.txt
parentf204e515ae2a4b6cd037b4b64ffae3b1e1a01df3 (diff)
downloadrails-ce2eadba597b5257b026da870e3861a5fdf863c7.tar.gz
rails-ce2eadba597b5257b026da870e3861a5fdf863c7.tar.bz2
rails-ce2eadba597b5257b026da870e3861a5fdf863c7.zip
Minor syntax fixes to the testing guide.
Diffstat (limited to 'railties/doc/guides/source/testing_rails_applications.txt')
-rw-r--r--railties/doc/guides/source/testing_rails_applications.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/doc/guides/source/testing_rails_applications.txt b/railties/doc/guides/source/testing_rails_applications.txt
index 6cced2fdd1..b492fdb300 100644
--- a/railties/doc/guides/source/testing_rails_applications.txt
+++ b/railties/doc/guides/source/testing_rails_applications.txt
@@ -229,7 +229,7 @@ NOTE: +db:test:prepare+ will fail with an error if db/schema.rb doesn't exists.
==== Rake Tasks for Preparing you Application for Testing ==
[grid="all"]
---------------------------------`----------------------------------------------------
+------------------------------------------------------------------------------------
Tasks Description
------------------------------------------------------------------------------------
+rake db:test:clone+ Recreate the test database from the current environment's database schema
@@ -239,7 +239,7 @@ Tasks Description
+rake db:test:purge+ Empty the test database.
------------------------------------------------------------------------------------
-TIP: You can see all these rake tasks and their descriptions by running +rake --tasks --describe+
+TIP: You can see all these rake tasks and their descriptions by running +rake \-\-tasks \-\-describe+
=== Running Tests ===
@@ -768,7 +768,7 @@ end
You don't need to set up and run your tests by hand on a test-by-test basis. Rails comes with a number of rake tasks to help in testing. The table below lists all rake tasks that come along in the default Rakefile when you initiate a Rail project.
[grid="all"]
---------------------------------`----------------------------------------------------
+------------------------------------------------------------------------------------
Tasks Description
------------------------------------------------------------------------------------
+rake test+ Runs all unit, functional and integration tests. You can also simply run +rake+ as the _test_ target is the default.