The Bark Blog » Testing Rails Model Plugins

Updated . Posted . Visible to the public.

Unfortunately, by default plugin tests are pretty bland. They use the plain unit test suite supplied by Ruby, and not any of the extended Rails test framework. This will leave our plugin’s test classes with no access to fixtures, database.yml configuration, or any of those nice class auto-loading features.

Last edit
Keywords
rails, plugins, testing
License
Source code in this card is licensed under the MIT License.
Posted by Lexy to makandra dev (2009-03-25 15:54)