Sha256: 602d8b1b9b3e2bca387b54d1262515570c309dbe5d23d65bc66cfb4591c3d0f0

Contents?: true

Size: 400 Bytes

Versions: 3

Compression:

Stored size: 400 Bytes

Contents

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

    it 'generates a config.rb file' do
      subject.options = { 'bootstrap' => '4' }
      subject.generate 'dummy_app'
      expect('dummy_app/config.rb').to have_content (
      """
      require 'bootstrap'

      css_dir = 'public/css'
      sass_dir = 'public/sass'
      """
      )
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
skellington-0.8.3 spec/sinatra/bootstrap_4/config_rb_bootstrap_4_spec.rb
skellington-0.8.2 spec/sinatra/bootstrap_4/config_rb_bootstrap_4_spec.rb
skellington-0.8.1 spec/sinatra/cli/config_rb_bootstrap_4_spec.rb