features/4.pins.feature in pinpress-1.0.2 vs features/4.pins.feature in pinpress-1.1.0
- old
+ new
@@ -6,20 +6,26 @@
Given a file located at "/tmp/pp/.pinpress" with the contents:
"""
---
pinpress:
config_location: "/tmp/pp/.pinpress"
- default_template: pinpress_default
+ default_pin_template: pinpress_default
+ default_tag_template: pinpress_default
log_level: WARN
- version: 1.0.1
- api_token: '12345'
- templates:
+ 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>"
+ opener: |
+ <ul>
+ item: |
+ <li>
+ <b><a title="<%= description %>" href="<%= href %>" target="_blank"><%= description %></a>.</b>
+ <%= extended %>
+ </li>
closer: "</ul>"
- - name: secondary
- item: "* <%= href %>"
+ tag_templates:
+ - name: pinpress_default
+ item: "<%= tag %> (<%= count %>),"
"""
When I run `pinpress pins` interactively
Then the exit status should be 1
\ No newline at end of file