Sha256: 4c7ba87e734e08ce515ca26db4ca00053c8fac7643d2f8731801c335d245948a

Contents?: true

Size: 1.59 KB

Versions: 2

Compression:

Stored size: 1.59 KB

Contents

Feature: Misc
  In order to be happy with my passwords safe
  As a user
  I want ensure the password safe behaves nicely

  Scenario: I am calling with too few arguments
  Given A safe exists with master password "my_master_password" and a key "github" with password "github_password"
    When I run `pws get` interactively
    And  I type "my_master_password"
    And  the output should contain "Wrong number of arguments"
    
  Scenario: I am calling with too many arguments
  Given A safe exists with master password "my_master_password" and a key "github" with password "github_password"
    When I run `pws get github with far too many args` interactively
    And  I type "my_master_password"
    And  the output should contain "Wrong number of arguments"
    
  Scenario: I am calling a task that does not exist
  Given A safe exists with master password "my_master_password" and a key "github" with password "github_password"
    When I run `pws blubb` interactively
    And  the output should contain "Unknown action"
    And  the output should contain "blubb"
    
  Scenario: I am asking for help
    When I run `pws --help` interactively
    And  the output should contain "Usage"
    And  the output should contain "pws"
    And  the output should contain "action"
    And  the output should contain "help"
    And  the output should contain "namespace"
    And  the output should contain "master"
  
  Scenario: I am asking for the version
    When I run `pws --version` interactively
    And  the output should contain "pws"
    And  the output should contain "J-_-L"
    And  the output should contain "github"
  

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pws-1.0.1 features/misc.feature
pws-1.0.0 features/misc.feature