Displaying 1 result from an estimated 1 matches for "my_plugin_core".
2006 Jan 04
0
Plugins unit testing
...plugin unit testing.
currently i have the following structure :
your_rails_app/
  |- app/
  |   |- 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
r...