Sha256: 9d35e8958c8dcd2278cbc38c18231c28591acc1a24435cf616d097aa9d7e1ff7

Contents?: true

Size: 670 Bytes

Versions: 2

Compression:

Stored size: 670 Bytes

Contents

# frozen_string_literal: true

require "jekyll"
require "typhoeus"
require "nokogiri"
require "rss"
require File.expand_path("../lib/jekyll-feed", __dir__)

Jekyll.logger.log_level = :error

RSpec.configure do |config|
  config.run_all_when_everything_filtered = true
  config.filter_run :focus
  config.order = "random"

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

  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

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-feed-0.11.0 spec/spec_helper.rb
jekyll-feed-0.10.0 spec/spec_helper.rb