Sha256: 575e7b7364d0179f301b6466d1e7a70f34d401d699ecd094073473f5c2d3c090

Contents?: true

Size: 1.16 KB

Versions: 71

Compression:

Stored size: 1.16 KB

Contents

Feature: Layouts dir
  Scenario: Find layouts in a custom layouts dir
    Given a fixture app "layouts-dir-app"
    And a file named "config.rb" with:
    """
    set :layouts_dir, 'layouts2'
    """
    And the Server is running
    When I go to "/index.html"
    Then I should see "contents of the custom layout"

  Scenario: Find layouts in a nested custom layouts dir
    Given a fixture app "layouts-dir-app"
    And a file named "config.rb" with:
    """
    set :layouts_dir, 'nested/layouts2'
    """
    And the Server is running
    When I go to "/index.html"
    Then I should see "contents of the nested layout"

  Scenario: Find layouts in the default layouts dir
    Given a fixture app "layouts-dir-app"
    And a file named "config.rb" with:
    """
    """
    And the Server is running
    When I go to "/index.html"
    Then I should see "contents of the layout"

  Scenario: Prefer a layout in the layouts_dir to one with the same name in the root
    Given a fixture app "layouts-dir-app"
    And a file named "config.rb" with:
    """
    """
    And the Server is running
    When I go to "/ambiguous.html"
    Then I should see "contents of the layout in layouts_dir"

Version data entries

71 entries across 71 versions & 4 rubygems

Version Path
middleman-core-4.6.0 features/layouts_dir.feature
middleman-core-4.5.1 features/layouts_dir.feature
middleman-core-4.5.0 features/layouts_dir.feature
middleman-core-4.4.3 features/layouts_dir.feature
middleman-core-4.4.2 features/layouts_dir.feature
middleman-core-4.4.0 features/layouts_dir.feature
middleman-core-4.3.11 features/layouts_dir.feature
middleman-core-4.3.10 features/layouts_dir.feature
middleman-core-4.3.8 features/layouts_dir.feature
middleman-core-4.3.7 features/layouts_dir.feature
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/features/layouts_dir.feature
middleman-core-4.3.6 features/layouts_dir.feature
middleman-core-4.3.5 features/layouts_dir.feature
middleman-core-4.3.4 features/layouts_dir.feature
middleman-core-4.3.3 features/layouts_dir.feature
middleman-core-4.3.2 features/layouts_dir.feature
middleman-core-4.3.1 features/layouts_dir.feature
middleman-core-4.3.0 features/layouts_dir.feature
middleman-core-4.3.0.rc.4 features/layouts_dir.feature
middleman-core-4.3.0.rc.3 features/layouts_dir.feature