Sha256: a4ea610315f86bfc10c77f5d6a8f426c59357b439d92a63ffcc8106dc38b6d34
Contents?: true
Size: 408 Bytes
Versions: 7
Compression:
Stored size: 408 Bytes
Contents
require 'active_mocker' root = APP_ROOT unless defined? Rails root = Rails.root if defined? Rails require "#{root}/lib/unit_logger" ActiveMocker::Generate.configure do |config| # Required Options config.schema_file = File.join(root, 'db/schema.rb') config.model_dir = File.join(root, 'app/models') config.mock_dir = File.join(root, 'spec/mocks') # Logging config.logger = UnitLogger end
Version data entries
7 entries across 7 versions & 1 rubygems