Class: SiteMock

Inherits:
Object
  • Object
show all
Defined in:
lib/jekyll_plugin_support/jekyll_plugin_support_spec_support.rb

Overview

Mock for Site

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config.



14
15
16
# File 'lib/jekyll_plugin_support/jekyll_plugin_support_spec_support.rb', line 14

def config
  @config
end

Instance Method Details

#collectionsObject



16
17
18
# File 'lib/jekyll_plugin_support/jekyll_plugin_support_spec_support.rb', line 16

def collections
  Collections.new
end