Sha256: 286e253f3d29a9a8fb2c9c65126d2560d2cee85fb5a4a3e66b98da621a8e8426

Contents?: true

Size: 1.26 KB

Versions: 11

Compression:

Stored size: 1.26 KB

Contents

# @active
Feature: Templates
  As a user, I should be able to list available
  templates and choose one.

  Scenario: List Templates (implicit)
    Given an existing current configuration file located at "/tmp/pp/.pinpress"
    When I run `pinpress templates` interactively
    Then the exit status should be 0
      And the output should contain:
      """
      ---> AVAILABLE PIN TEMPLATES:
      1.  Name:   pinpress_default
        Opener:   <ul>
          Item:   <li><%= href %></li>
        Closer:   </ul>
      ---> AVAILABLE TAG TEMPLATES:
      1.  Name:   pinpress_default
        Opener:   
          Item:   <%= tag %> (<%= count %>),
        Closer:   
      """

  Scenario: List Templates (explicit)
    Given an existing current configuration file located at "/tmp/pp/.pinpress"
    When I run `pinpress templates list` interactively
    Then the exit status should be 0
      And the output should contain:
      """
      ---> AVAILABLE PIN TEMPLATES:
      1.\tName:   pinpress_default
            Opener:   <ul>
              Item:   <li><%= href %></li>
            Closer:   </ul>
      ---> AVAILABLE TAG TEMPLATES:
      1.      Name:   pinpress_default
            Opener:   
              Item:   <%= tag %> (<%= count %>),
            Closer:   
      """

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
pinpress-1.6.3 features/3.templates.feature
pinpress-1.6.2 features/3.templates.feature
pinpress-1.6.1 features/3.templates.feature
pinpress-1.6.0 features/3.templates.feature
pinpress-1.5.2 features/3.templates.feature
pinpress-1.5.1 features/3.templates.feature
pinpress-1.5.0 features/3.templates.feature
pinpress-1.4.2 features/3.templates.feature
pinpress-1.4.1 features/3.templates.feature
pinpress-1.4.0 features/3.templates.feature
pinpress-1.3.3 features/3.templates.feature