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

Version Path
jekyll_plugin_support-1.0.3 lib/jekyll_plugin_support/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-1.0.2 lib/jekyll_plugin_support/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-1.0.1 lib/jekyll_plugin_support/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-1.0.0 lib/jekyll_plugin_support/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-0.8.5 lib/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-0.8.4 lib/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-0.8.3 lib/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-0.8.2 lib/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-0.8.1 lib/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-0.8.0 lib/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-0.7.2 lib/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-0.7.1 lib/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-0.7.0 lib/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-0.6.2 lib/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-0.6.1 lib/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-0.6.0 lib/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-0.5.3 lib/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-0.5.2 lib/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-0.5.1 lib/jekyll_plugin_support_spec_support.rb
jekyll_plugin_support-0.5.0 lib/jekyll_plugin_support_spec_support.rb