Sha256: 32dcc9a9d0fc73cb7e189adca2533e7fcea6688088ea392dca1c2c4dd77f3ea6

Contents?: true

Size: 519 Bytes

Versions: 37

Compression:

Stored size: 519 Bytes

Contents

Feature: Snippets
  As a designer
  I want to insert re-usable piece of code among pages

Background:
  Given I have the site: "test site" set up
  And a snippet named "yield" with the template:
    """
    HELLO WORLD !
    """

Scenario: Simple include
  Given a page named "hello-world" with the template:
    """
    My application says {% include 'yield' %}
    """
  When I view the rendered page at "/hello-world"
  Then the rendered output should look like:
    """
    My application says HELLO WORLD !
    """

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
locomotivecms-3.0.0.rc3 features/public/snippets.feature
locomotivecms-3.0.0.rc2 features/public/snippets.feature
locomotivecms-3.0.0.rc1 features/public/snippets.feature
locomotivecms-3.0.0.pre.beta.1 features/public/snippets.feature
locomotivecms-3.0.0.pre.alpha.3 features/public/snippets.feature
locomotive_cms-2.5.7 features/public/snippets.feature
locomotivecms-3.0.0.pre.alpha.2 features/public/snippets.feature
locomotivecms-3.0.0.pre.alpha features/public/snippets.feature
locomotive_cms-2.5.6 features/public/snippets.feature
locomotive_cms-2.5.6.rc2 features/public/snippets.feature
locomotive_cms-2.5.6.rc1 features/public/snippets.feature
locomotive_cms-2.5.5 features/public/snippets.feature
locomotive_cms-2.5.4 features/public/snippets.feature
locomotive_cms-2.5.3 features/public/snippets.feature
locomotive_cms-2.5.2 features/public/snippets.feature
locomotive_cms-2.5.1 features/public/snippets.feature
locomotive_cms-2.5.0 features/public/snippets.feature
locomotive_cms-2.5.0.rc3 features/public/snippets.feature
locomotive_cms-2.5.0.rc2 features/public/snippets.feature
locomotive_cms-2.5.0.rc1 features/public/snippets.feature