Sha256: 7aef228e21d3cbd0f7c0a3f5b816ce3048fa2a6e3b8639dd1a3ff92da12cb77c

Contents?: true

Size: 729 Bytes

Versions: 6

Compression:

Stored size: 729 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', '~> 1.4'
      gem 'rack-conneg'
      gem 'rack-tracker'
      gem 'rake'
      gem 'compass'
      gem 'bootstrap-sass'
      gem 'erubis'
      gem 'puma'

      group :test do
        gem 'rspec'
        gem 'guard'
        gem 'guard-rspec'
        gem 'guard-jasmine'
        gem 'coveralls'
        gem 'jasmine'
        gem 'pry'
        gem 'actionpack'
      end
      """
      )
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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