Sha256: b582cb97e39856ad4598a77c1b20f1134822f914a12c6d54c2aeead6481e5044

Contents?: true

Size: 1.31 KB

Versions: 4

Compression:

Stored size: 1.31 KB

Contents

Feature: Provide Sane Defaults for Layout Behavior

  Scenario: Template and Layout of same engine exist
    Given the Server is running at "engine-matching-layout"
    When I go to "/index.html"
    Then I should see "Comment in layout"
  
  Scenario: Template and Layout of different engine
    Given the Server is running at "different-engine-layout"
    When I go to "/index.html"
    Then I should see "Comment in layout"
  
  Scenario: Multiple layouts exist, prefer same engine
    Given the Server is running at "multiple-layouts"
    When I go to "/index.html"
    Then I should see "ERb Comment in layout"
  
  Scenario: No layout exists
    Given the Server is running at "no-layout"
    When I go to "/index.html"
    Then I should not see "Comment in layout"
  
  Scenario: Manually set default layout in config (exists)
    Given the Server is running at "manual-layout"
    When I go to "/index.html"
    Then I should see "Custom Comment in layout"
    
  Scenario: Manually set default layout in config (does not exist)
    Given the Server is running at "manual-layout-missing"
    When I go to "/index.html"
    Then I should see "Error"
  
  Scenario: Overwrite manual layout
    Given the Server is running at "manual-layout-override"
    When I go to "/index.html"
    Then I should see "Another Comment in layout"
    

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
middleman-3.0.0.alpha.6 features/auto_layout.feature
middleman-3.0.0.alpha.5 features/auto_layout.feature
middleman-3.0.0.alpha.4 features/auto_layout.feature
middleman-3.0.0.alpha.3 features/auto_layout.feature