Sha256: 6794ba20a555552844098189cd4a943751f6e83e3297a55f2adbc60ac3cb97e6
Contents?: true
Size: 733 Bytes
Versions: 4
Compression:
Stored size: 733 Bytes
Contents
module Ninoxe class Engine < ::Rails::Engine config.generators do |g| g.test_framework :rspec g.integration_tool :rspec end initializer "ninoxe", :after => :eager_load! do ::Chouette::ActiveRecord.establish_connection Rails.configuration.database_configuration["chouette"] if Rails.configuration.database_configuration["chouette"].present? ::Chouette::ActiveRecord.logger = Rails.logger end initializer "ninoxe.factories", :after => "factory_girl.set_factory_paths" do FactoryGirl.definition_file_paths << File.expand_path('../../../spec/factories', __FILE__) if defined?(FactoryGirl) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
ninoxe-1.2.3 | lib/ninoxe/engine.rb |
ninoxe-1.2.2 | lib/ninoxe/engine.rb |
ninoxe-1.2.1 | lib/ninoxe/engine.rb |
ninoxe-1.2.0 | lib/ninoxe/engine.rb |