Sha256: a7cbf6b7f4a9848592959bceee010fb475586ce9760e2e1547d934d28d2317b0

Contents?: true

Size: 1.02 KB

Versions: 8

Compression:

Stored size: 1.02 KB

Contents

Feature: Rendering the navigation tag
  In order to render the website content properly
  the system
  should parse radius tags

  Scenario: Basic navigation rendering
    Given I am logged in as "designer"
    When I go to layouts
    And I follow "Main"
    And I fill in the "layout_content" content with the text
    """
    <r:navigation paths="First: /first | Another: /another | Parent: /parent">
      <r:normal><a href="<r:path />"><r:title /></a></r:normal>
      <r:here><strong><r:title /></strong></r:here>
      <r:selected><strong><a href="<r:path />"><r:title /></a></strong></r:selected>
      <r:between> | </r:between>
    </r:navigation>
    """
    And I press "Save Changes"
    And I follow "Logout"
    And I go to "/"
    Then the page should render
    """
    <a href="/first">First</a> | <a href="/another">Another</a> | <a href="/parent">Parent</a>
    """
    And I go to "/first"
    Then the page should render
    """
    <strong>First</strong> | <a href="/another">Another</a> | <a href="/parent">Parent</a>
    """

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
radiant-1.1.4 features/navigation_rendering.feature
radiant-1.1.3 features/navigation_rendering.feature
radiant-1.1.2 features/navigation_rendering.feature
radiant-1.1.1 features/navigation_rendering.feature
radiant-1.1.0 features/navigation_rendering.feature
radiant-1.1.0.rc1 features/navigation_rendering.feature
radiant-1.1.0.beta features/navigation_rendering.feature
radiant-1.1.0.alpha features/navigation_rendering.feature