Sha256: e5f047beed6a4c1ff499563bcdce960a00e6c3b66a651015f9f1b72e5e03c29a

Contents?: true

Size: 440 Bytes

Versions: 1

Compression:

Stored size: 440 Bytes

Contents

require 'logger'
require 'webmock/rspec'

begin
  require 'simplecov'
  SimpleCov.start do
    add_filter "/spec/"
  end
rescue LoadError
  # simplecov not installed
end

WebMock.disable_net_connect!

require File.expand_path('../../lib/cobranding', __FILE__)


module Rails
end

def Rails.env
  "test"
end

def Rails.cache
  @cache ||= ActiveSupport::Cache::MemoryStore.new
end

def Rails.logger
  @logger ||= Logger.new(StringIO.new)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cobranding-1.3.0 spec/spec_helper.rb