features/aka/edit.feature in hsume2-aka-0.1.0 vs features/aka/edit.feature in hsume2-aka-0.2.0
- old
+ new
@@ -33,23 +33,25 @@
"""
And the file ".aka.yml" should contain exactly:
"""
---
- 1: !ruby/object:OpenStruct
- table:
- :shortcut: lsf
- :command: ls -F
- :description: |-
- 1
- 2
- 3
- :function: true
- :tag:
- - zsh
- - bash
- modifiable: true
+ :version: '1'
+ :shortcuts:
+ 1: !ruby/object:OpenStruct
+ table:
+ :shortcut: lsf
+ :command: ls -F
+ :description: |-
+ 1
+ 2
+ 3
+ :function: true
+ :tag:
+ - zsh
+ - bash
+ modifiable: true
"""
@interactive
Scenario: Edit interactively
@@ -63,22 +65,24 @@
"""
And the file ".aka.yml" should contain exactly:
"""
---
- 1: !ruby/object:OpenStruct
- table:
- :shortcut: lsf
- :command: ls -F
- :description: |-
- 1
- 2
- 3
- :function: true
- :tag:
- - zsh
- - bash
- modifiable: true
+ :version: '1'
+ :shortcuts:
+ 1: !ruby/object:OpenStruct
+ table:
+ :shortcut: lsf
+ :command: ls -F
+ :description: |-
+ 1
+ 2
+ 3
+ :function: true
+ :tag:
+ - zsh
+ - bash
+ modifiable: true
"""
Scenario: Edit: Missing shortcut
When I run `aka edit ls`