spec/cli/public_spec.rb in skellington-0.7.3 vs spec/cli/public_spec.rb in skellington-0.7.4

- old
+ new

@@ -9,16 +9,18 @@ expect(File).to exist 'dummy_app/public/js/dummy_app.js' expect(File).to exist 'dummy_app/public/assets/favicon.ico' expect('dummy_app/public/sass/styles.scss').to have_content ( """ @import 'bootstrap'; + @import 'fonts'; @import 'variables'; @import 'footer'; @import 'github-corner'; h1 { color: $brand-primary; + font-family: $font-primary; } """ ) expect('dummy_app/public/sass/_variables.scss').to have_content ( @@ -65,9 +67,16 @@ } .octo-arm, .octo-body { fill: white; } + """ + ) + + expect('dummy_app/public/sass/_fonts.scss').to have_content ( + """ + @import 'https://fonts.googleapis.com/css?family=Lobster'; + $font-primary: 'Lobster'; """ ) end end end