Sha256: 1c560cf6af4ecb5d3620900ab739ec21f877237d22f0acc721fd48802e2b5610
Contents?: true
Size: 679 Bytes
Versions: 4
Compression:
Stored size: 679 Bytes
Contents
module Gamification class Engine < ::Rails::Engine isolate_namespace Gamification initializer 'gamification.action_controller' do |app| ActiveSupport.on_load :action_controller do helper Gamification::ApplicationHelper end end initializer 'gamification.factories', after: 'factory_girl.set_factory_paths' do FactoryGirl.definition_file_paths << File.expand_path('../../../spec/factories', __FILE__) if defined?(FactoryGirl) end config.generators do |g| g.test_framework :rspec, fixture: false g.fixture_replacement :factory_girl, dir: 'spec/factories' g.assets false g.helper false end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
gamification-1.0.3 | lib/gamification/engine.rb |
gamification-1.0.2 | lib/gamification/engine.rb |
gamification-1.0.1 | lib/gamification/engine.rb |
gamification-1.0.0 | lib/gamification/engine.rb |