Sha256: 146b90b08e7566b02895875444729e6a74acad0f501b3f490e8aff83de2c97c7

Contents?: true

Size: 429 Bytes

Versions: 3

Compression:

Stored size: 429 Bytes

Contents

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

    it 'generates a Gemfile' do
      subject.options = { 'framework' => 'jekyll' }
      subject.generate 'dummy_app'
      expect('dummy_app/Gemfile').to have_content (
      """
      source 'https://rubygems.org'

      /ruby '[0-9]*\\.[0-9]*\\.[0-9]*'/

      gem 'github-pages'
      gem 'rake'
      """
      )
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
skellington-0.8.3 spec/jekyll/root_files/gemfile_spec.rb
skellington-0.8.2 spec/jekyll/root_files/gemfile_spec.rb
skellington-0.8.1 spec/jekyll/cli/gemfile_spec.rb