README in plugin_test_helper-0.1.1 vs README in plugin_test_helper-0.1.2
- old
+ new
@@ -3,32 +3,32 @@
+plugin_test_helper+ simplifies plugin testing by creating an isolated Rails
environment that simulates its usage in a real application.
== Resources
-API
+Announcement
-* http://api.pluginaweek.org/plugin_test_helper
+* http://www.pluginaweek.org
Wiki
* http://wiki.pluginaweek.org/Plugin_test_helper
-Announcement
+API
-* http://www.pluginaweek.org
+* http://api.pluginaweek.org/plugin_test_helper
-Source
-
-* http://svn.pluginaweek.org/trunk/plugins/test/plugin_test_helper
-
Development
* http://dev.pluginaweek.org/browser/trunk/plugins/test/plugin_test_helper
-== Descriptiona
+Source
+* http://svn.pluginaweek.org/trunk/plugins/test/plugin_test_helper
+
+== Description
+
Plugins often need to initialize a full Rails environment, whether it be for
accessing a database or simulating controller access. Traditionally, this has
been done by just loading the application that the plugin was added to.
However, this can cause all sorts of environment variables to change, making it
seem as though the plugin is having problems when it may be something else. It
@@ -92,16 +92,12 @@
Example:
$ ruby script/generate plugin_test_structure acts_as_most_popular
create vendor/plugins/acts_as_most_popular/test/app_root
- create vendor/plugins/acts_as_most_popular/test/app_root/vendor
create vendor/plugins/acts_as_most_popular/test/app_root/config
create vendor/plugins/acts_as_most_popular/test/app_root/app
create vendor/plugins/acts_as_most_popular/test/app_root/lib
- create vendor/plugins/acts_as_most_popular/test/app_root/vendor/plugins
- create vendor/plugins/acts_as_most_popular/test/app_root/vendor/plugins/plugin_proxy
- create vendor/plugins/acts_as_most_popular/test/app_root/vendor/plugins/plugin_proxy/init.rb
create vendor/plugins/acts_as_most_popular/test/app_root/config/environments
create vendor/plugins/acts_as_most_popular/test/app_root/config/routes.rb
create vendor/plugins/acts_as_most_popular/test/app_root/config/boot.rb
create vendor/plugins/acts_as_most_popular/test/app_root/config/environment.rb
create vendor/plugins/acts_as_most_popular/test/app_root/config/database.yml