Sha256: 500563187247950cf23c13b251220d96d22b42c6e8ee8aa2732686b81352c782

Contents?: true

Size: 1.2 KB

Versions: 33

Compression:

Stored size: 1.2 KB

Contents

Feature: Session
  As a designer
  I want to record objects in the session and reach them later

Background:
  Given I have the site: "test site" set up
  And a page named "store" with the template:
    """
    Store a string in the session. {% session_assign foo = 'monkey' %}
    """
  And a page named "retrieve" with the template:
    """
    Retrieve a string from the session: {{ session.foo }}.
    """
  And a page named "release" with the template:
    """
    Remove a string from the session. {% session_assign foo = null %}
    """

Scenario: Store and retrieve a string in session
  When I view the rendered page at "/retrieve"
  Then the rendered output should look like:
    """
    Retrieve a string from the session: .
    """
  When I view the rendered page at "/store"
  And I view the rendered page at "/retrieve"
  Then the rendered output should look like:
    """
    Retrieve a string from the session: monkey.
    """

Scenario: Remove a object from the session
  When I view the rendered page at "/store"
  And I view the rendered page at "/release"
  And I view the rendered page at "/retrieve"
  Then the rendered output should look like:
    """
    Retrieve a string from the session: .
    """

Version data entries

33 entries across 33 versions & 2 rubygems

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