Sha256: 55a64715fe38508db85b86a01901319df128ad26643d73f882c988279e38ef6a

Contents?: true

Size: 1.32 KB

Versions: 61

Compression:

Stored size: 1.32 KB

Contents

Feature: Directory Index
  In order output Apache-friendly directories and indexes

  Scenario: Checking built folder for content
    Given a built app at "indexable-app"
    Then "needs_index/index.html" should exist at "indexable-app" and include "Indexable"
    Then "a_folder/needs_index/index.html" should exist at "indexable-app" and include "Indexable"
    Then "leave_me_alone.html" should exist at "indexable-app" and include "Stay away"
    Then "regular/index.html" should exist at "indexable-app" and include "Regular"
    Then "regular/index/index.html" should not exist at "indexable-app"
    Then "needs_index.html" should not exist at "indexable-app"
    Then "a_folder/needs_index.html" should not exist at "indexable-app"
    Then "leave_me_alone/index.html" should not exist at "indexable-app"
    And cleanup built app at "indexable-app"
    
  Scenario: Preview normal file
    Given the Server is running at "indexable-app"
    When I go to "/needs_index/"
    Then I should see "Indexable"
    
  Scenario: Preview normal file subdirectory
    Given the Server is running at "indexable-app"
    When I go to "/a_folder/needs_index/"
    Then I should see "Indexable"
    
  Scenario: Preview ignored file
    Given the Server is running at "indexable-app"
    When I go to "/leave_me_alone/"
    Then I should see "File Not Found"

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
middleman-2.0.16.1-x86-mingw32 features/directory_index.feature
middleman-2.0.16.1 features/directory_index.feature
middleman-2.0.16-x86-mingw32 features/directory_index.feature
middleman-2.0.16 features/directory_index.feature
middleman-2.0.15.4-x86-mingw32 features/directory_index.feature
middleman-2.0.15.4 features/directory_index.feature
middleman-2.0.15.3-x86-mingw32 features/directory_index.feature
middleman-2.0.15.3 features/directory_index.feature
middleman-2.0.15.2-x86-mingw32 features/directory_index.feature
middleman-2.0.15.2 features/directory_index.feature
middleman-2.0.15.1-x86-mingw32 features/directory_index.feature
middleman-2.0.15.1 features/directory_index.feature
middleman-2.0.15-x86-mingw32 features/directory_index.feature
middleman-2.0.15 features/directory_index.feature
middleman-2.0.14-x86-mingw32 features/directory_index.feature
middleman-2.0.14 features/directory_index.feature
middleman-2.0.14.pre2-x86-mingw32 features/directory_index.feature
middleman-2.0.14.pre2 features/directory_index.feature
middleman-2.0.13.2-x86-mingw32 features/directory_index.feature
middleman-2.0.14.pre-x86-mingw32 features/directory_index.feature