Sha256: 8a78fe5158f20cccb3240950c54b79d55ba82910310fef3ca05e453133b3b4dd

Contents?: true

Size: 995 Bytes

Versions: 12

Compression:

Stored size: 995 Bytes

Contents

Feature: Layouts
  Background:
    Given the Server is running at "layouts-app"
  Scenario: The layout of a blog entry can be set in its front matter.
    When I go to "/2011/01/01/first-article.html"
    Then I should see "First Alternative Layout"
    And I should see "First Article"
    When I go to "/2011/01/01/second-article.html"
    Then I should see "Second Alternative Layout"
    And I should see "Second Article"
    When I go to "/2011/01/01/third-article.html"
    Then I should see "Third Alternative Layout"
    And I should see "Third Article"
  Scenario: The default blog layout is used if none is set in front matter.
    When I go to "/2011/01/02/article-in-normal-layout.html"
    Then I should see "Default Layout"
    And I should see "New Article"
  Scenario: Do not use a layout for the article if set to false in front matter.
    When I go to "/2011/01/03/article-without-layout.html"
    Then I should not see "Default Layout"
    And I should see "Article Content"

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
middleman-blog-4.0.1 features/layouts.feature
middleman-blog-4.0.0 features/layouts.feature
middleman-blog-3.6.0.beta.2 features/layouts.feature
middleman-blog-3.5.3 features/layouts.feature
middleman-blog-3.5.2 features/layouts.feature
middleman-blog-3.5.1 features/layouts.feature
middleman-blog-3.5.0 features/layouts.feature
middleman-blog-3.4.1 features/layouts.feature
middleman-blog-3.3.0 features/layouts.feature
middleman-blog-3.2.0 features/layouts.feature
middleman-blog-3.1.1 features/layouts.feature
middleman-blog-3.1.0 features/layouts.feature