Sha256: eb738314de838e195cd6d81fa5d33c9f9f05f24c47f57f77fffe2299d869c8ff

Contents?: true

Size: 337 Bytes

Versions: 2

Compression:

Stored size: 337 Bytes

Contents

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

require 'bundler/setup'

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

2 entries across 2 versions & 1 rubygems

Version Path
cachetastic-3.6.0 spec/spec_helper.rb
cachetastic-3.5.3 spec/spec_helper.rb