Sha256: 744c17beed3237dde065ace15485cf06b88fcdf439372091508f9c15ea72edd4
Contents?: true
Size: 699 Bytes
Versions: 2
Compression:
Stored size: 699 Bytes
Contents
# frozen_string_literal: true require 'jekyll' Registers = Struct.new(:page, :site) # Mock for Collections class Collections def values [] end end # Mock for Site class SiteMock attr_reader :config def collections Collections.new end end # Mock for Liquid::ParseContent class TestParseContext < Liquid::ParseContext attr_reader :line_number, :registers # rubocop:disable Layout/CommentIndentation # def initialize # super # @line_number = 123 # @registers = Registers.new( # { 'path' => 'https://feeds.soundcloud.com/users/soundcloud:users:7143896/sounds.rss' }, # SiteMock.new # ) # end # rubocop:enable Layout/CommentIndentation end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jekyll_plugin_support-0.2.0 | lib/jekyll_plugin_support_spec_support.rb |
jekyll_plugin_support-0.1.0 | lib/jekyll_plugin_support_spec_support.rb |