Sha256: 25efb5079763ad43841a6b9061f5ea6b402f3766991f5aad45806052e1e347ce

Contents?: true

Size: 342 Bytes

Versions: 6

Compression:

Stored size: 342 Bytes

Contents

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

    it 'initialises a git repo' do
      subject.generate 'dummy-app'
      expect(Dir).to exist 'dummy_app/.git'

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

Version data entries

6 entries across 6 versions & 1 rubygems

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