Sha256: cc93e52cdd5366991a7c037634a56647c1fab9534341efb1ddb72c94d526903b

Contents?: true

Size: 1.29 KB

Versions: 6

Compression:

Stored size: 1.29 KB

Contents

Feature: Build Clean
  Scenario: Build and Clean an app
    Given a fixture app "clean-app"
    And app "clean-app" is using config "empty"
    And a successfully built app at "clean-app"
    And app "clean-app" is using config "complications"
    
    Given a successfully built app at "clean-app" with flags "--clean"
    When I cd to "build"
    Then the following files should not exist:
      | should_be_ignored.html                        |
      | should_be_ignored2.html                       |
      | should_be_ignored3.html                       |
    And the file "index.html" should contain "Comment in layout"

  Scenario: Clean an app with directory indexes
    Given a successfully built app at "clean-dir-app"
    When I cd to "build"
    Then the following files should exist:
      | about/index.html                               |
    
    Given a successfully built app at "clean-dir-app" with flags "--clean"
      When I cd to "build"
    Then the following files should exist:
      | about/index.html                               |

  Scenario: Clean build an app that's never been built
    Given a successfully built app at "clean-dir-app" with flags "--clean"
    When I cd to "build"
    Then the following files should exist:
      | about/index.html                               |

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
middleman-core-3.0.0.beta.1 features/clean_build.feature
middleman-core-3.0.0.alpha.9 features/clean_build.feature
middleman-core-3.0.0.alpha.8 features/clean_build.feature
middleman-core-3.0.0.alpha.7 features/clean_build.feature
middleman-3.0.0.alpha.6 features/clean_build.feature
middleman-3.0.0.alpha.5 features/clean_build.feature