Sha256: 8b0e4e59edcbd43ba04161e7960245bf9145fc1acbb1cc2376de21f55535c48f
Contents?: true
Size: 668 Bytes
Versions: 24
Compression:
Stored size: 668 Bytes
Contents
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
24 entries across 24 versions & 1 rubygems