Sha256: bbf0fad4ea57e4f9eea6a44abf376abd0e83b4789d6aab1f243f8854de47055d

Contents?: true

Size: 623 Bytes

Versions: 3

Compression:

Stored size: 623 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))

require "lacquer"
require "rspec"

class ControllerClass
  def self.before_filter(arg); end
  def self.after_filter(arg); end

  include Lacquer::CacheUtils
end

class SweeperClass
  include Lacquer::CacheUtils
end

module Delayed;
  module Job; end
end

module Resque; end

Lacquer.configure do |config|
  config.enable_cache = true
  config.default_ttl = 1.week
  config.job_backend = :none
  config.varnish_servers << { :host => "0.0.0.0", :port => 6082 }
end

RSpec.configure do |c|
  c.mock_with :rspec
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lacquer-0.5.8 spec/spec_helper.rb
lacquer-0.5.7 spec/spec_helper.rb
lacquer-0.5.6 spec/spec_helper.rb