spec/sinatra/bootstrap/css_spec.rb in skellington-0.8.5 vs spec/sinatra/bootstrap/css_spec.rb in skellington-0.8.6
- old
+ new
@@ -26,9 +26,45 @@
"""
$font-primary: 'Ubuntu Mono';
"""
)
+ 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%;
+
+ text-align: center;
+
+ margin-top: $padding-large-vertical;
+ background: $brand-primary;
+ color: white;
+ height: $footer-height;
+
+ padding: $padding-large-vertical $padding-large-horizontal;
+
+ ul {
+ @extend .list-inline;
+ }
+
+ a {
+ color: white;
+ }
+ }
+ """
+ )
+
expect('dummy_app/public/sass/_nav.scss').to have_content (
"""
.navbar-default {
.navbar-nav {
li {