Sha256: 317a91c8f29bac9a6bdb9651358e335065b577bb6dae5041264c1e156521187e

Contents?: true

Size: 391 Bytes

Versions: 6

Compression:

Stored size: 391 Bytes

Contents

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

    it 'initialises a git repo' do
      subject.options = { 'framework' => 'jekyll' }
      subject.generate 'dummy-app'
      expect(Dir).to exist 'dummy_app/.git'

      expect('dummy_app/.gitignore').to have_content (
      """
      _site/
      .sass-cache
      """
      )
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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