module Phcscriptcdnpro class Engine < ::Rails::Engine # Load Security require 'authrocket' require 'phcaccountspro' # Main Dependencies require 'phcnotifi' require 'phctitleseo' require 'rabl' require 'oj' # UI Dependencies require 'jquery-rails' require 'jquery-ui-rails' require 'sass-rails' require 'bootstrap-sass' require 'font-awesome-rails' # Give PHCScriptCDN(Pro) Own Namespace isolate_namespace Phcscriptcdnpro # 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 g.fixture_replacement :factory_girl, dir: "spec/factories" end # Load Helper Files config.to_prepare do ApplicationController.helper(ApplicationHelper) Phcnotifi::ApplicationController.helper(ApplicationHelper) Phctitleseo::ApplicationController.helper(ApplicationHelper) Phcaccountspro::ApplicationController.helper(ApplicationHelper) end end end