Sha256: e95627cec8d413cc9570d5283aeb3d1a05b6d5b90db8c6eee681cd7646e8d140
Contents?: true
Size: 460 Bytes
Versions: 8
Compression:
Stored size: 460 Bytes
Contents
module ActiveMocker class Railtie < Rails::Railtie rake_tasks do load "active_mocker/task.rake" end config.to_prepare do ActiveMocker::Generate.configure do |config| config.schema_file = File.join(Rails.root, 'db/schema.rb') config.model_dir = File.join(Rails.root, 'app/models') config.mock_dir = File.join(Rails.root, 'spec/mocks') config.logger = Rails.logger end end end end
Version data entries
8 entries across 8 versions & 1 rubygems