Sha256: 8fed59f5de3be30f254f69996c3857f4b639439248fd640f2048870d0612be89

Contents?: true

Size: 1.5 KB

Versions: 23

Compression:

Stored size: 1.5 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"
    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"
    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"
    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"
    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"
    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

23 entries across 23 versions & 1 rubygems

Version Path
middleman-2.0.0.rc8 features/page_alias_and_layouts.feature
middleman-2.0.0.rc7 features/page_alias_and_layouts.feature
middleman-2.0.0.rc6 features/page_alias_and_layouts.feature
middleman-2.0.0.rc5 features/page_alias_and_layouts.feature
middleman-2.0.0.rc4 features/page_alias_and_layouts.feature
middleman-2.0.0.rc3 features/page_alias_and_layouts.feature
middleman-2.0.0.rc2 features/page_alias_and_layouts.feature
middleman-2.0.0.rc1 features/page_alias_and_layouts.feature
middleman-2.0.0.beta6 features/page_alias_and_layouts.feature
middleman-2.0.0.beta5 features/page_alias_and_layouts.feature
middleman-2.0.0.beta4 features/page_alias_and_layouts.feature
middleman-2.0.0.beta3 features/page_alias_and_layouts.feature
middleman-1.2.8 features/page_alias_and_layouts.feature
middleman-2.0.0.beta2 features/page_alias_and_layouts.feature
middleman-1.2.7 features/page_alias_and_layouts.feature
middleman-1.2.6 features/page_alias_and_layouts.feature
middleman-1.2.5 features/page_alias_and_layouts.feature
middleman-1.2.4 features/page_alias_and_layouts.feature
middleman-1.2.3 features/page_alias_and_layouts.feature
middleman-1.2.2 features/page_alias_and_layouts.feature