Sha256: 33f660a0bfb30a63a87abdde492c70a77a4edadacb9513714b003f29d4df4d81
Contents?: true
Size: 790 Bytes
Versions: 6
Compression:
Stored size: 790 Bytes
Contents
module Skellington describe CLI do let :subject do described_class.new end it 'generates a Gemfile' do subject.options = { 'bootstrap' => '4' } 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 'erubis' gem 'puma' gem 'bootstrap', '~> 4.0.0.alpha5' 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