lib/phcmemberspro/engine.rb in phcmemberspro-87.0.0 vs lib/phcmemberspro/engine.rb in phcmemberspro-88.0.0
- old
+ new
@@ -45,25 +45,26 @@
isolate_namespace Phcmemberspro
# Testing Generator
config.generators do |g|
g.test_framework :rspec,
- fixtures: true,
- view_specs: false,
- helper_specs: false,
- routing_specs: false,
- controller_specs: true,
- request_specs: false
+ fixtures: true,
+ view_specs: false,
+ helper_specs: false,
+ routing_specs: false,
+ controller_specs: true,
+ request_specs: false
g.fixture_replacement :factory_bot,
dir: "spec/factories"
end
-
+
# Load Requried Helper Files
config.to_prepare do
+ Phcaccountspro::ApplicationController.helper(ApplicationHelper)
Phccorehelpers::ApplicationController.helper(ApplicationHelper)
Phcmenus::ApplicationController.helper(ApplicationHelper)
Phcnotifi::ApplicationController.helper(ApplicationHelper)
Phctitleseo::ApplicationController.helper(ApplicationHelper)
end
-
+
end
end