Sha256: 0909977e691ebf9a2c77903be1a258d349e0bf772ca94f86bdb99a5219431938

Contents?: true

Size: 786 Bytes

Versions: 7

Compression:

Stored size: 786 Bytes

Contents

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

    it 'generates a Gemfile' do
      subject.generate 'dummy_app'
      expect('dummy_app/Gemfile').to have_content (
      """
      source 'https://rubygems.org'

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

      gem 'sinatra'
      gem 'rack-conneg'
      gem 'rack-google-analytics'
      gem 'rake'
      gem 'puma'

      group :test do
        gem 'cucumber'
        gem 'rspec'
        gem 'guard'
        gem 'guard-rspec'
        gem 'guard-jasmine'
        gem 'guard-cucumber'
        gem 'capybara'
        gem 'coveralls'
        gem 'jasmine'
        gem 'pry'
        gem 'actionpack'
        gem 'cucumber-api-steps', require: false
      end
      """
      )
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
skellington-0.4.16 spec/cli/gemfile_spec.rb
skellington-0.4.15 spec/cli/gemfile_spec.rb
skellington-0.4.13 spec/cli/gemfile_spec.rb
skellington-0.4.11 spec/cli/gemfile_spec.rb
skellington-0.4.10 spec/cli/gemfile_spec.rb
skellington-0.4.9 spec/cli/gemfile_spec.rb
skellington-0.4.8 spec/cli/gemfile_spec.rb