Sha256: 7a44deb95ef21d17aa0847caf579cd342e96e51e5ffdd30f988f8758bd36b4da

Contents?: true

Size: 1.29 KB

Versions: 5

Compression:

Stored size: 1.29 KB

Contents

Feature: Setting page settings through frontmatter
  Scenario: Setting layout, ignoring, and disabling directory indexes through frontmatter (build)
    Given a successfully built app at "frontmatter-settings-app"
    Then the following files should exist:
      | build/proxied.html  |
    And the file "build/alternate_layout.html" should contain "Alternate layout"
    And the following files should not exist:
      | build/ignored.html  |
    
  Scenario: Setting layout, ignoring, and disabling directory indexes through frontmatter (preview)
    Given the Server is running at "frontmatter-settings-app"
    When I go to "/alternate_layout.html"
    Then I should not see "File Not Found"
    And I should see "Alternate layout"
    When I go to "/ignored.html"
    Then I should see "File Not Found"
    When I go to "/ignored/index.html"
    Then I should see "File Not Found"

  Scenario: Changing frontmatter in preview server
    Given the Server is running at "frontmatter-settings-app"
    When I go to "/ignored.html"
    Then I should see "File Not Found"
    And the file "source/ignored.html.erb" has the contents
      """
      ---
      ignored: false
      ---

      This file is no longer ignored.
      """
    When I go to "/ignored.html"
    Then I should see "This file is no longer ignored."

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
middleman-core-3.0.0 features/frontmatter_page_settings.feature
middleman-core-3.0.0.rc.4 features/frontmatter_page_settings.feature
middleman-core-3.0.0.rc.3 features/frontmatter_page_settings.feature
middleman-core-3.0.0.rc.2 features/frontmatter_page_settings.feature
middleman-core-3.0.0.rc.1 features/frontmatter_page_settings.feature