Sha256: 8fed59f5de3be30f254f69996c3857f4b639439248fd640f2048870d0612be89
Contents?: true
Size: 1.5 KB
Versions: 23
Compression:
Stored size: 1.5 KB
Contents
Feature: Custom layouts In order easily switch between relative and absolute paths Scenario: Using custom :layout attribute Given page "/custom-layout.html" has layout "custom" When I go to "/custom-layout.html" Then I should see "Custom Layout" Scenario: Using with_layout block Given "/custom-layout.html" with_layout block has layout "custom" When I go to "/custom-layout.html" Then I should see "Custom Layout" Scenario: Using custom :layout attribute with folders Given page "/custom-layout-dir/" has layout "custom" When I go to "/custom-layout-dir" Then I should see "Custom Layout" When I go to "/custom-layout-dir/" Then I should see "Custom Layout" When I go to "/custom-layout-dir/index.html" Then I should see "Custom Layout" Scenario: Using custom :layout attribute with folders Given page "/custom-layout-dir" has layout "custom" When I go to "/custom-layout-dir" Then I should see "Custom Layout" When I go to "/custom-layout-dir/" Then I should see "Custom Layout" When I go to "/custom-layout-dir/index.html" Then I should see "Custom Layout" Scenario: Using custom :layout attribute with folders Given page "/custom-layout-dir/index.html" has layout "custom" When I go to "/custom-layout-dir" Then I should see "Custom Layout" When I go to "/custom-layout-dir/" Then I should see "Custom Layout" When I go to "/custom-layout-dir/index.html" Then I should see "Custom Layout"
Version data entries
23 entries across 23 versions & 1 rubygems