Sha256: 97eccd2aedc872bc6ed6615f1552b69efe4e0b52b9bd6d90d7d165b5e1c03d98

Contents?: true

Size: 369 Bytes

Versions: 6

Compression:

Stored size: 369 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('dummy_app/index.md').to have_content (
      """
      ---
      ---

      # Hello from DummyApp
      """
      )
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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