Sha256: 135fe0e73e3063ba02ea2f3b4882912a6b1615738f74cb69a4c45aa500324ac6

Contents?: true

Size: 475 Bytes

Versions: 6

Compression:

Stored size: 475 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

      baseurl: /dummy-app
      """
      )
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
skellington-0.8.9 spec/jekyll/root_files/config_yml_spec.rb
skellington-0.8.8 spec/jekyll/root_files/config_yml_spec.rb
skellington-0.8.7 spec/jekyll/root_files/config_yml_spec.rb
skellington-0.8.6 spec/jekyll/root_files/config_yml_spec.rb
skellington-0.8.5 spec/jekyll/root_files/config_yml_spec.rb
skellington-0.8.4 spec/jekyll/root_files/config_yml_spec.rb