Sha256: 6f8242ef778bb2bb59eada8ceea59252ba1edbfdd8af68d2e9d11502eeadc0b0

Contents?: true

Size: 1.76 KB

Versions: 4

Compression:

Stored size: 1.76 KB

Contents

Feature: Custom layouts
  In order easily switch between relative and absolute paths
  
  Scenario: Using custom :layout attribute
    Given page "/custom-layout.html" has layout "custom"
    And the Server is running at "custom-layout-app2"
    When I go to "/custom-layout.html"
    Then I should see "Custom Layout"
    
  Scenario: Using with_layout block
    Given "/custom-layout.html" with_layout block has layout "custom"
    And the Server is running at "custom-layout-app2"
    When I go to "/custom-layout.html"
    Then I should see "Custom Layout"
    
  Scenario: Using custom :layout attribute with folders
    Given page "/custom-layout-dir/" has layout "custom"
    And the Server is running at "custom-layout-app2"
    When I go to "/custom-layout-dir"
    Then I should see "Custom Layout"
    When I go to "/custom-layout-dir/"
    Then I should see "Custom Layout"
    When I go to "/custom-layout-dir/index.html"
    Then I should see "Custom Layout"
    
  Scenario: Using custom :layout attribute with folders
    Given page "/custom-layout-dir" has layout "custom"
    And the Server is running at "custom-layout-app2"
    When I go to "/custom-layout-dir"
    Then I should see "Custom Layout"
    When I go to "/custom-layout-dir/"
    Then I should see "Custom Layout"
    When I go to "/custom-layout-dir/index.html"
    Then I should see "Custom Layout"
    
  Scenario: Using custom :layout attribute with folders
    Given page "/custom-layout-dir/index.html" has layout "custom"
    And the Server is running at "custom-layout-app2"
    When I go to "/custom-layout-dir"
    Then I should see "Custom Layout"
    When I go to "/custom-layout-dir/"
    Then I should see "Custom Layout"
    When I go to "/custom-layout-dir/index.html"
    Then I should see "Custom Layout"

Version data entries

4 entries across 4 versions & 1 rubygems

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