Sha256: fd70b108d7da8ec7104d9a5fde995cb400480fdeaf087af382e78f3dd4e4f94d

Contents?: true

Size: 575 Bytes

Versions: 1

Compression:

Stored size: 575 Bytes

Contents

module MongodbLogger
  class Application
  end
end

class Rails
  module VERSION
    MAJOR = 4
  end

  def self.env
    ActiveSupport::StringInquirer.new("test")
  end

  def self.root
    Pathname.new(File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "tmp")))
  end

  def self.application
    MongodbLogger::Application.new
  end

  def self.logger
    MongodbLogger::Logger.new
  end
end

module ActiveRecord
  class LogSubscriber
    def self.colorize_logging
      true
    end
  end

  class Base
    def self.colorize_logging
      true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongodb_logger-0.6.5 spec/support/rails.rb