Sha256: 91444b2a4d636f9e2ae2aba27c6385a7fbd2dd9c990eb23c216f05653d849601

Contents?: true

Size: 895 Bytes

Versions: 2

Compression:

Stored size: 895 Bytes

Contents

Feature: Templates
  As a user, I should be able get pins from Pinboard
  and have them inherit certain templates.
  
  Scenario: Invalid API Key
    Given a file located at "/tmp/pp/.pinpress" with the contents:
    """
    ---
    pinpress:
      config_location: "/tmp/pp/.pinpress"
      default_pin_template: pinpress_default
      default_tag_template: pinpress_default
      log_level: WARN
      version: 1.1.0
      api_token: bachya:12345
    pin_templates:
    - name: pinpress_default
      opener: |
        <ul>
      item: |
        <li>
        <b><a title="<%= description %>" href="<%= href %>" target="_blank"><%= description %></a>.</b>
        <%= extended %>
        </li>
      closer: "</ul>"
    tag_templates:
    - name: pinpress_default
      item: "<%= tag %> (<%= count %>),"
    """
    When I run `pinpress pins` interactively
    Then the exit status should be 1

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pinpress-1.1.1 features/4.pins.feature
pinpress-1.1.0 features/4.pins.feature