Sha256: e7e28d315054b6dabe03d88f5f446d7b3dd6ccfa146f5f43075dd5fd88539ec9

Contents?: true

Size: 612 Bytes

Versions: 8

Compression:

Stored size: 612 Bytes

Contents

Feature: knife vault create with mismatched ID

  'knife vault create' creates a vault.  A JSON file can be passed
  on the command line.  If the vault ID specified on the command line
  does not match the value of the 'id' key in the JSON file, knife
  should throw an error

  Scenario: create vault from JSON file with mismatched ID
    Given a local mode chef repo with nodes 'one,two,three'
    And I create a vault item 'test/item' containing the JSON '{"id": "eyetem"}' encrypted for 'one,two,three'
    Then the output should match /id mismatch - input JSON has id 'eyetem' but vault item has id 'item'/

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
chef-vault-2.9.2 features/verify_id_matches.feature
chef-vault-2.9.1 features/verify_id_matches.feature
chef-vault-2.9.0 features/verify_id_matches.feature
chef-vault-2.8.0 features/verify_id_matches.feature
chef-vault-2.8.0.rc1 features/verify_id_matches.feature
chef-vault-2.7.1 features/verify_id_matches.feature
chef-vault-2.6.1 features/verify_id_matches.feature
chef-vault-2.6.0 features/verify_id_matches.feature