Sha256: a1c1b5b804838b50a65e8f1d977f5eb4a61de5569048e0fab6790e1df9c614a5

Contents?: true

Size: 1.22 KB

Versions: 73

Compression:

Stored size: 1.22 KB

Contents

Feature: Built-in page_classes view helper
  In order to generate body classes for views
  
  Scenario: Viewing the root path
    Given the Server is running at "page-classes-app"
    When I go to "/page-classes.html"
    Then I should see "page-classes"

  Scenario: Viewing a tier-1 path
    Given the Server is running at "page-classes-app"
    When I go to "/sub1/page-classes.html"
    Then I should see "sub1 sub1_page-classes"

  Scenario: Viewing a tier-2 path
    Given the Server is running at "page-classes-app"
    When I go to "/sub1/sub2/page-classes.html"
    Then I should see "sub1 sub1_sub2 sub1_sub2_page-classes"

  Scenario: The page starts with a number
    Given the Server is running at "page-classes-app"
    When I go to "/1-starts-with-numeric.html"
    Then I should see "x1-starts-with-numeric"

  Scenario: The folder starts with a number
    Given the Server is running at "page-classes-app"
    When I go to "/1-folder/1-inside-with-numeric.html"
    Then I should see "x1-folder x1-folder_1-inside-with-numeric"

  Scenario: Custom prefix for numeric
    Given the Server is running at "page-classes-app"
    When I go to "/2-starts-with-numeric-custom.html"
    Then I should see "haaaaay2-starts-with-numeric-custom"

Version data entries

73 entries across 73 versions & 4 rubygems

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