Sha256: 27e222ca6882e4021409c6e366efec4b648cb30c2b58c73e7176ec27eab6e1e9
Contents?: true
Size: 901 Bytes
Versions: 18
Compression:
Stored size: 901 Bytes
Contents
Feature: Page body via `body` variable Scenario: Theme accesses rendered page body via `body` variable Given a theme with the body: """ <div class="container">{{body}}</div> """ When this page is rendered: """ <h1>Hi mom!</h1> """ Then the rendered content should be: """ <div class="container"><h1>Hi mom!</h1></div> """ Scenario: Rendering a page that attempts to inject Liquid markup into its theme Given a theme with the body "{{body}}" When this page is rendered: """ {% raw %}{{body}}{% endraw %} """ Then the rendered content should be: """ {{body}} """ Scenario: Page rendering does not provide a `body` variable When this page is rendered: """ <div>{{body}}</div> """ Then the rendered content should be: """ <div></div> """
Version data entries
18 entries across 18 versions & 1 rubygems