search for: rails_plugin_testing_guide

Displaying 1 result from an estimated 1 matches for "rails_plugin_testing_guide".

2008 Nov 22
1
Testing Environment for Plugints
Hello, I''m currently creating my first plugin in rails. It creates a model and a mixin for controllers. For testing purposes I need a test controller (sort of a mock) to which I can include my mixin and test wether the mixed in methods work. My problem is in order to do this I either have to setup my test enviorment in a rails app outside of my plugin or I have to replicate a whole rails