aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/source/creating_plugins/tests.txt
diff options
context:
space:
mode:
authorJeff Dean <jeff@zilkey.com>2008-11-16 23:09:12 -0500
committerJeff Dean <jeff@zilkey.com>2008-11-16 23:09:12 -0500
commite08af7219795d28fe9e9eb5f0dc2e7488541382e (patch)
treee58587b84665c4d6a0667f5e9bfac972c8c6de9f /railties/doc/guides/source/creating_plugins/tests.txt
parent6b8500ce48f45f18696f6215b8a01f5cf0e328b5 (diff)
downloadrails-e08af7219795d28fe9e9eb5f0dc2e7488541382e.tar.gz
rails-e08af7219795d28fe9e9eb5f0dc2e7488541382e.tar.bz2
rails-e08af7219795d28fe9e9eb5f0dc2e7488541382e.zip
Rails guide: Misc reorganization
Diffstat (limited to 'railties/doc/guides/source/creating_plugins/tests.txt')
-rw-r--r--railties/doc/guides/source/creating_plugins/tests.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/doc/guides/source/creating_plugins/tests.txt b/railties/doc/guides/source/creating_plugins/tests.txt
index ef6dab2f9f..47611542cb 100644
--- a/railties/doc/guides/source/creating_plugins/tests.txt
+++ b/railties/doc/guides/source/creating_plugins/tests.txt
@@ -1,13 +1,13 @@
== Tests ==
-If your plugin interacts with a database, you'll need to setup a database connection. In this guide you will learn how to test your plugin against multiple different database adapters using Active Record. This guide will not cover how to use fixtures in plugin tests.
-
-To setup your plugin to allow for easy testing you'll need to add 3 files:
+In this guide you will learn how to test your plugin against multiple different database adapters using Active Record. To setup your plugin to allow for easy testing you'll need to add 3 files:
* A 'database.yml' file with all of your connection strings
* A 'schema.rb' file with your table definitions
* A test helper method that sets up the database
+=== Test Setup ===
+
*vendor/plugins/yaffle/test/database.yml:*
----------------------------------------------