diff options
author | athonlab <akshay.surve@gmail.com> | 2008-11-30 17:43:14 +0530 |
---|---|---|
committer | athonlab <akshay.surve@gmail.com> | 2008-11-30 17:43:14 +0530 |
commit | ce2eadba597b5257b026da870e3861a5fdf863c7 (patch) | |
tree | bb39d86ed81b6519b4adeaca41cf4012a2ccc07f /railties/doc | |
parent | f204e515ae2a4b6cd037b4b64ffae3b1e1a01df3 (diff) | |
download | rails-ce2eadba597b5257b026da870e3861a5fdf863c7.tar.gz rails-ce2eadba597b5257b026da870e3861a5fdf863c7.tar.bz2 rails-ce2eadba597b5257b026da870e3861a5fdf863c7.zip |
Minor syntax fixes to the testing guide.
Diffstat (limited to 'railties/doc')
-rw-r--r-- | railties/doc/guides/source/testing_rails_applications.txt | 6 |
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. |