Sha256: d3666b088365672b647445adfd904b3ea6b292cdfd48f7b88eb867150f5a322d

Contents?: true

Size: 704 Bytes

Versions: 6

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

6 entries across 6 versions & 1 rubygems

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