Sha256: 0aefdc28c77418932cbe223db2e549b951692a9813756fe628457d13231fa01b
Contents?: true
Size: 1.5 KB
Versions: 1
Compression:
Stored size: 1.5 KB
Contents
module Skellington describe CLI, troublesome: true do let :subject do described_class.new end it 'installs bootstrap 4' do subject.options = { 'framework' => 'jekyll', 'bootstrap' => 4 } subject.generate 'dummy_app' expect(Dir).to exist 'dummy_app/javascripts/bootstrap' expect('dummy_app/javascripts/bootstrap.min.js').to have_content ( """ /*! * Bootstrap v4.0.0-alpha.4 (http://getbootstrap.com) * Copyright 2011-2016 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ """ ) expect(Dir).to exist 'dummy_app/_sass/bootstrap' expect('dummy_app/_sass/bootstrap.scss').to have_content ( """ /*! * Bootstrap v4.0.0-alpha.4 (http://getbootstrap.com) * Copyright 2011-2016 The Bootstrap Authors * Copyright 2011-2016 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ """ ) expect('dummy_app/_sass/bootstrap-custom.scss').to have_content ( """ $brand-primary: #fa8100; """ ) expect('dummy_app/_sass/fonts.scss').to have_content ( """ @import url(http://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css); @import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono); $font-family-san-serif: 'Ubuntu Mono' """ ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
skellington-0.8.1 | spec/jekyll/cli/bootstrap_4_spec.rb |