Sha256: 8fd096c404313aedc8f4b87ddd94b345cfe57748b0a2561c2b92d963eb577ba3
Contents?: true
Size: 844 Bytes
Versions: 4
Compression:
Stored size: 844 Bytes
Contents
Feature: Test the existence of a resource Scenario: Existing resources can be detected Given I load the policy: """ - !resource kind: food id: bacon """ And I reset the command list When I successfully run `conjur resource exists food:bacon` Then the stdout should contain exactly "true" Scenario: Non-existent resources are reported as such When I successfully run `conjur resource exists food:bacon` Then the stdout should contain exactly "false" Scenario: Even foreign user can check existence of a resource Given I load the policy: """ - !resource kind: food id: bacon - !user alice """ And I login as "alice" And I reset the command list And I run `conjur resource exists food:bacon` Then the stdout should contain exactly "true"
Version data entries
4 entries across 4 versions & 1 rubygems