Sha256: 57d7f8942534ca80413e74a51cfa832bef1c458268a3aa779699b029890aede7
Contents?: true
Size: 1.39 KB
Versions: 3
Compression:
Stored size: 1.39 KB
Contents
Feature: Provide Sane Defaults for Partial Behavior Scenario: Finds shared partials relative to the root Given the Server is running at "partials-app" When I go to "/index.html" Then I should see "Header" And I should see "Footer" Scenario: Finds shared partials relative to the root (sub) Given the Server is running at "partials-app" When I go to "/sub/index.html" Then I should see "Header" And I should see "Footer" Scenario: Prefers partials of the same engine type Given the Server is running at "partials-app" When I go to "/index.html" Then I should see "ERb Main" Scenario: Prefers partials of the same engine type Given the Server is running at "partials-app" When I go to "/second.html" Then I should see "Haml Main" And I should see "Header" And I should see "Footer" Scenario: Finds partial relative to template Given the Server is running at "partials-app" When I go to "/sub/index.html" Then I should see "Local Partial" Scenario: Partials can be passed locals Given the Server is running at "partials-app" When I go to "/locals.html" Then I should see "Local var is bar" Scenario: Partial and Layout use different engines Given the Server is running at "different-engine-partial" When I go to "/index.html" Then I should see "ERb Header" And I should see "Slim Footer"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
middleman-3.0.0.alpha.6 | features/partials.feature |
middleman-3.0.0.alpha.5 | features/partials.feature |
middleman-3.0.0.alpha.4 | features/partials.feature |