Sha256: f34fe0fe36e537d097e14adaba1d9db29b50f89bc2ce5cec40639e551c9764c9

Contents?: true

Size: 596 Bytes

Versions: 4

Compression:

Stored size: 596 Bytes

Contents

module Phcmemberspro
	class Engine < ::Rails::Engine

		# Required Dependencies
		require 'figaro'

		# 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

4 entries across 4 versions & 1 rubygems

Version Path
phcmemberspro-1.7.0 lib/phcmemberspro/engine.rb
phcmemberspro-1.6.5 lib/phcmemberspro/engine.rb
phcmemberspro-1.6.3 lib/phcmemberspro/engine.rb
phcmemberspro-1.6.1 lib/phcmemberspro/engine.rb