Sha256: b3274867dbd2bebc5478fd94429637c13fbb7d1d742492fdbdc4d67c0528e644

Contents?: true

Size: 1.65 KB

Versions: 31

Compression:

Stored size: 1.65 KB

Contents

Feature: Builder
  In order to output static html and css for delivery

  Scenario: Checking built folder for content
    Given a built app at "test-app"
    Then "index.html" should exist at "test-app" and include "Comment in layout"
    Then "javascripts/coffee_test.js" should exist at "test-app" and include "Array.prototype.slice"
    Then "index.html" should exist at "test-app" and include "<h1>Welcome</h1>"
    Then "static.html" should exist at "test-app" and include "Static, no code!"
    Then "services/index.html" should exist at "test-app" and include "Services"
    Then "stylesheets/site.css" should exist at "test-app" and include "html, body, div, span"
    Then "stylesheets/site_scss.css" should exist at "test-app" and include "html, body, div, span"
    Then "stylesheets/static.css" should exist at "test-app" and include "body"
    Then "_partial.html" should not exist at "test-app"
    Then "spaces in file.html" should exist at "test-app" and include "spaces"
    Then "images/Read me (example).txt" should exist at "test-app"
    Then "images/Child folder/regular_file(example).txt" should exist at "test-app"
    And cleanup built app at "test-app"
    
  Scenario: Build glob
    Given a built app at "glob-app" with flags "--glob '**/*.sass'"
    Then "stylesheets/site.css" should exist at "glob-app" and include "html"
    Then "index.html" should not exist at "glob-app"
    And cleanup built app at "glob-app"
    
  # Scenario: Force relative assets
  #   Given a built app at "relative-app" with flags "--relative"
  #   Then "stylesheets/relative_assets.css" should exist at "relative-app" and include "../"
  #   And cleanup built app at "relative-app"

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
middleman-2.0.15.2-x86-mingw32 features/builder.feature
middleman-2.0.15.2 features/builder.feature
middleman-2.0.15.1-x86-mingw32 features/builder.feature
middleman-2.0.15.1 features/builder.feature
middleman-2.0.15-x86-mingw32 features/builder.feature
middleman-2.0.15 features/builder.feature
middleman-2.0.14-x86-mingw32 features/builder.feature
middleman-2.0.14 features/builder.feature
middleman-2.0.14.pre2-x86-mingw32 features/builder.feature
middleman-2.0.14.pre2 features/builder.feature
middleman-2.0.13.2-x86-mingw32 features/builder.feature
middleman-2.0.14.pre-x86-mingw32 features/builder.feature
middleman-2.0.14.pre features/builder.feature
middleman-2.0.13.1-x86-mingw32 features/builder.feature
middleman-2.0.13.1 features/builder.feature
middleman-2.0.13-x86-mingw32 features/builder.feature
middleman-2.0.13 features/builder.feature
middleman-2.0.12-x86-mingw32 features/builder.feature
middleman-2.0.12 features/builder.feature
middleman-2.0.12.pre-x86-mingw32 features/builder.feature