Sha256: aa73e0dc1e3e5f4163c91bdbaf4191708d2859710d078ab51522496526766248

Contents?: true

Size: 582 Bytes

Versions: 4

Compression:

Stored size: 582 Bytes

Contents

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

require 'lacquer'
require 'spec'
require 'spec/autorun'

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

  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

Spec::Runner.configure do |config|
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
lacquer-0.3.0 spec/spec_helper.rb
posterous-lacquer-0.2.5 spec/spec_helper.rb
posterous-lacquer-0.2.4 spec/spec_helper.rb
posterous-lacquer-0.2.3 spec/spec_helper.rb