Method: CorePluginFunctionalHelper#__make_plugin_file_data_structure_with_path
- Defined in:
- lib/plugins/shared/core_plugin_test_helper.rb
#__make_plugin_file_data_structure_with_path(path) ⇒ Object
133 134 135 136 137 138 139 140 141 142 143 |
# File 'lib/plugins/shared/core_plugin_test_helper.rb', line 133 def __make_plugin_file_data_structure_with_path(path) # TODO: dry this up, refs #3350 plugin_name = File.basename(path, ".rb") data = __make_empty_plugin_file_data_structure data["plugins"] << { "name" => plugin_name, "installation_type" => "path", "installation_path" => path, } data end |