Sha256: 2b4f84a78b86fc0ba8e19c81a0387e10cf98a5e3e1a8ba441831f0ec9a8c34e2

Contents?: true

Size: 616 Bytes

Versions: 1

Compression:

Stored size: 616 Bytes

Contents

module Phcmemberspro
	class Engine < ::Rails::Engine
		# Required Dependencies
		require 'figaro'
		require 'mtdevise'

		# Isolate Namespace for PHC 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)
		end

	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcmemberspro-1.5.7 lib/phcmemberspro/engine.rb