Sha256: 23e394ca1a02aef5a91666eb09e4fabacd6a07674ccede6cc11bf958701b7e1b

Contents?: true

Size: 1.71 KB

Versions: 67

Compression:

Stored size: 1.71 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 "test-app"
    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 "test-app"
    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 "test-app"
    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 "test-app"
    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 "test-app"
    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

67 entries across 67 versions & 1 rubygems

Version Path
middleman-2.0.16.1-x86-mingw32 features/page_alias_and_layouts.feature
middleman-2.0.16.1 features/page_alias_and_layouts.feature
middleman-2.0.16-x86-mingw32 features/page_alias_and_layouts.feature
middleman-2.0.16 features/page_alias_and_layouts.feature
middleman-2.0.15.4-x86-mingw32 features/page_alias_and_layouts.feature
middleman-2.0.15.4 features/page_alias_and_layouts.feature
middleman-2.0.15.3-x86-mingw32 features/page_alias_and_layouts.feature
middleman-2.0.15.3 features/page_alias_and_layouts.feature
middleman-2.0.15.2-x86-mingw32 features/page_alias_and_layouts.feature
middleman-2.0.15.2 features/page_alias_and_layouts.feature
middleman-2.0.15.1-x86-mingw32 features/page_alias_and_layouts.feature
middleman-2.0.15.1 features/page_alias_and_layouts.feature
middleman-2.0.15-x86-mingw32 features/page_alias_and_layouts.feature
middleman-2.0.15 features/page_alias_and_layouts.feature
middleman-3.0.0.alpha.6 features/page_alias_and_layouts.feature
middleman-3.0.0.alpha.5 features/page_alias_and_layouts.feature
middleman-3.0.0.alpha.4 features/page_alias_and_layouts.feature
middleman-3.0.0.alpha.3 features/page_alias_and_layouts.feature
middleman-3.0.0.alpha.2 features/page_alias_and_layouts.feature
middleman-2.0.14-x86-mingw32 features/page_alias_and_layouts.feature