Sha256: 58a3fef1cee25894aa950b02849e5ffac99064bbf8be9ca793cb9596db0c1466
Contents?: true
Size: 809 Bytes
Versions: 1
Compression:
Stored size: 809 Bytes
Contents
# frozen_string_literal: true require "bridgetown" require "typhoeus" unless Gem.win_platform? require "nokogiri" require "rss" require File.expand_path("../lib/bridgetown-feed", __dir__) Bridgetown.logger.log_level = :error RSpec.configure do |config| config.run_all_when_everything_filtered = true config.filter_run :focus config.order = "random" ROOT_DIR = File.expand_path("fixtures", __dir__) SOURCE_DIR = File.join(ROOT_DIR, "src") DEST_DIR = File.expand_path("dest", __dir__) def root_dir(*files) File.join(ROOT_DIR, *files) end 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bridgetown-feed-1.0.0 | spec/spec_helper.rb |