Sha256: 19bded510e59088f9701f1728c5cec321f3b953a15efc00f7e9d2d83c9fa85ca

Contents?: true

Size: 419 Bytes

Versions: 1

Compression:

Stored size: 419 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.1 spec/jekyll/cli/index_md.rb