Sha256: b22088fa9ab96382481e48b7f0a6b08348024a6ebeade56007fb8dba6c71bee7

Contents?: true

Size: 704 Bytes

Versions: 3

Compression:

Stored size: 704 Bytes

Contents

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

    it 'generates placeholders for static files' do
      subject.options = { 'bootstrap' => '4' }
      subject.generate 'dummy_app'

      expect('dummy_app/public/sass/_footer.scss').to have_content (
      """
      html {
        position: relative;
        min-height: 100%;
      }

      body {
        margin-bottom: $footer-height;
      }

      .footer {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: $footer-height;
        line-height: $footer-height;
        text-align: center;
        background: $brand-primary;
      }
      """
      )
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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