Sha256: 26707142c874e8011cfb973d15a6de669cce37c374e4fc665534e166a06b3698

Contents?: true

Size: 415 Bytes

Versions: 1

Compression:

Stored size: 415 Bytes

Contents

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

    it 'creates a default index page' do
      subject.options = { framework: 'jekyll' }
      subject.generate 'dummy_app'
      expect(Dir).to exist 'dummy_app/index.md'

      expect('dummy_app/.gitignore').to have_content (
      """
      ---
      ---

      # Hold tight DummyApp
      """
      )
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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