Sha256: 36f8193a7d470d32d7c3e3152206a337eacfed9269b0191595227b4a87a07c6e

Contents?: true

Size: 539 Bytes

Versions: 8

Compression:

Stored size: 539 Bytes

Contents

require 'jekyll'
require 'rss'
require 'rspec'
require File.expand_path('../lib/jekyll-minifier', File.dirname(__FILE__))

Jekyll.logger.log_level = :error

RSpec.configure do |config|

  SOURCE_DIR = File.expand_path("../fixtures", __FILE__)
  DEST_DIR   = File.expand_path("../dest",     __FILE__)

  def source_dir(*files)
    File.join(SOURCE_DIR, *files)
  end

  def dest_dir(*files)
    File.join(DEST_DIR, *files)
  end

  def make_context(registers = {})
    Liquid::Context.new({}, {}, { site: site }.merge(registers))
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jekyll-minifier-0.1.10 spec/spec_helper.rb
jekyll-minifier-0.1.9 spec/spec_helper.rb
jekyll-minifier-0.1.8 spec/spec_helper.rb
jekyll-minifier-0.1.6 spec/spec_helper.rb
jekyll-minifier-0.1.5 spec/spec_helper.rb
jekyll-minifier-0.1.4 spec/spec_helper.rb
jekyll-minifier-0.1.3 spec/spec_helper.rb
jekyll-minifier-0.1.2 spec/spec_helper.rb