module Phcmemberspro class Engine < ::Rails::Engine # Load MTDevise require 'mtdevise' require 'mtdevise/active_record_extensions' require 'mtdevise/scoped_to' # Main Dependencies require 'figaro' require 'country_select' # UI Dependencies require 'jquery-rails' require 'jquery-ui-rails' require 'sass-rails' require 'bootstrap-sass' require 'font-awesome-rails' require 'gravtastic' # API Dependencies require 'rabl' require 'oj' # Isolate Namespace for PWHC Members 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 g.fixture_replacement :factory_girl, dir: "spec/factories" end # Load Helper Files (Prevents Problems) config.to_prepare do ApplicationController.helper(ApplicationHelper) Mtdevise::ApplicationController.helper end end end