Sha256: ba8dde30da02c7e6cda769e48df677bcad28c8441f24547dacf0c8b0161ef795
Contents?: true
Size: 1.75 KB
Versions: 2
Compression:
Stored size: 1.75 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" 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" with flags "--clean" 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 an app with directory indexes Given a successfully built app at "clean-dir-app" Then the following files should exist: | build/about/index.html | Given a successfully built app at "clean-dir-app" with flags "--clean" Then the following files should exist: | build/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" Then the following files should exist: | build/about/index.html | Scenario: Clean build an app with newly ignored files and a nested output directory Given a built app at "clean-nested-app" 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" with flags "--clean" Then the following files should not exist: | sub/dir/about.html |
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
middleman-core-3.0.0.beta.3 | features/clean_build.feature |
middleman-core-3.0.0.beta.2 | features/clean_build.feature |