Sha256: fce1ca5fd9a4e142b89359b98eb848f31bfc431079a8ddd3e667ce185e93e076

Contents?: true

Size: 400 Bytes

Versions: 6

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

6 entries across 6 versions & 1 rubygems

Version Path
skellington-0.8.9 spec/sinatra/bootstrap_4/config_rb_bootstrap_4_spec.rb
skellington-0.8.8 spec/sinatra/bootstrap_4/config_rb_bootstrap_4_spec.rb
skellington-0.8.7 spec/sinatra/bootstrap_4/config_rb_bootstrap_4_spec.rb
skellington-0.8.6 spec/sinatra/bootstrap_4/config_rb_bootstrap_4_spec.rb
skellington-0.8.5 spec/sinatra/bootstrap_4/config_rb_bootstrap_4_spec.rb
skellington-0.8.4 spec/sinatra/bootstrap_4/config_rb_bootstrap_4_spec.rb