Displaying 1 result from an estimated 1 matches for "my_plugin_mock".
2006 Jan 04
0
Plugins unit testing
...controllers/
| |- models/
| |- helpers/
| |- views/
|- lib/
| - <etc>
|- vendor/
|- plugins/
|-my_plugin/
|-init.rb
|-lib/
|-my_plugin_core.rb
|-test/
|-mocks/
|-test/
|-my_plugin_mock.rb
|-unit/
|-my_plugin_test.rb
Is this correct ? should my tests work as they did when they lived in
the main test dir , is it expected that I have to redefine all the
require paths ?
Thanks,
Jean