Sha256: 74f65691e90dcdff90ca8188089f9494bf2a59ac2d24a85881e451a9c609211d

Contents?: true

Size: 444 Bytes

Versions: 1

Compression:

Stored size: 444 Bytes

Contents

module Skellington
  describe CLI do
    let :subject do
      described_class.new
    end

    it 'generates a _config.yml file' do
      subject.options = { framework: 'jekyll' }
      subject.generate 'dummy_app'
      expect('dummy_app/_config.yml').to have_content (
      """
      ---
      defaults:
      - scope:
          path: ''
        values:
          layout: default
      permalink: pretty
      """
      )
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
skellington-0.8.0 spec/jekyll/cli/config_yml_spec.rb