Top Level Namespace

Defined Under Namespace

Modules: PluginTestHelper

Constant Summary collapse

HELPER_RAILS_ROOT =

Make sure our default RAILS_ROOT from the helper plugin is in the load path

File.expand_path('../generators/plugin_test_structure/templates/app_root', File.dirname(__FILE__))
RAILS_ROOT =

Determine the plugin's root test directory and add it to the load path

(File.directory?('./test/app_root') ? './test/app_root' : HELPER_RAILS_ROOT)