Sha256: 9682f2cdae9a74687db81c14410c2d4625f4e3f3728f0bab0f1ac3fb34d89c2f

Contents?: true

Size: 789 Bytes

Versions: 7

Compression:

Stored size: 789 Bytes

Contents

Feature: Layouts
  In order to have greater control over the look and feel of my website
  As a User
  I want custom html templates

  Background:
    Given I log in as Joe Admin
    And I create HTML card "simple layout" with content "Simple Header {{_main}} Simple Footer"
    And the card "*all+*layout" contains "[[simple layout]]"
    And I create Pointer card "User+*type+*layout" with content "[[user layout]]"
    And I create HTML card "user layout" with content "User Header {{_main}}"

  Scenario: I visit a Basic card with the simple layout
    When I go to card "*account links"
    Then I should see "Simple Header"
    And I should see "Joe Admin"

  Scenario: I visit a User card with the user layout
    When I go to card "Joe User"
    Then I should see "User Header"



Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
wagn-1.12.13 features/layouts.feature
wagn-1.12.12 features/layouts.feature
wagn-1.12.11 features/layouts.feature
wagn-1.12.10 features/layouts.feature
wagn-1.12.9 features/layouts.feature
wagn-1.12.8 features/layouts.feature
wagn-1.12.7 features/layouts.feature