Sha256: ff4f87b6799b19b1aadfddaf1ba27e4e5a1417fa326cdaaed9788160bc5227ba

Contents?: true

Size: 428 Bytes

Versions: 1

Compression:

Stored size: 428 Bytes

Contents

ENV["RACK_ENV"] ||= "test"

require 'bundler/setup'

require 'mongoid'
Mongoid.load!(File.join(File.dirname(__FILE__), "config.yml"), :test)

require 'cachetastic' # and any other gems you need


require 'timecop'

RSpec.configure do |config|

  config.before do
    Timecop.freeze
  end

  config.after do
    Timecop.return
  end

end

class CarCache < Cachetastic::Cache
end

class Cachetastic::BlockError < StandardError
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cachetastic-3.7.0 spec/spec_helper.rb