Sha256: 5fadbd8f30d8ba8a7a9b2e2177b26ad4c1dbfabed2241beeda47425f214c7c65

Contents?: true

Size: 1.2 KB

Versions: 4

Compression:

Stored size: 1.2 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" with flags "--no-clean"
    Then the following files should exist:
      | build/index.html              |
      | build/should_be_ignored.html  |
      | build/should_be_ignored2.html |
      | build/should_be_ignored3.html |
    And app "clean-app" is using config "complications"
    Given a successfully built app at "clean-app"
    Then the following files should not exist:
      | build/should_be_ignored.html  |
      | build/should_be_ignored2.html |
      | build/should_be_ignored3.html |
    And the file "build/index.html" should contain "Comment in layout"

  Scenario: Clean build an app with newly ignored files and a nested output directory
    Given a built app at "clean-nested-app" with flags "--no-clean"
    Then a directory named "sub/dir" should exist
    Then the following files should exist:
      | sub/dir/about.html        |
    When I append to "config.rb" with "ignore 'about.html'"
    Given a built app at "clean-nested-app"
    Then the following files should not exist:
      | sub/dir/about.html        |

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
middleman-core-3.1.0.rc.1 features/clean_build.feature
middleman-core-3.1.0.beta.3 features/clean_build.feature
middleman-core-3.1.0.beta.2 features/clean_build.feature
middleman-core-3.1.0.beta.1 features/clean_build.feature