acceptance-features/dsl/resource_owner.feature in conjur-cli-4.28.2 vs acceptance-features/dsl/resource_owner.feature in conjur-cli-4.29.0
- old
+ new
@@ -9,9 +9,9 @@
"""
Scenario: resource is create with correct ownership
When I run `conjur policy load --collection $ns` interactively
And I pipe in the file "policy.rb"
- And the exit status should be 0
- When I run `conjur resource show webservice:$ns/test-policy-1.0/web1 | jsonfield owner`
- Then the output from "conjur resource show webservice:$ns/test-policy-1.0/web1 | jsonfield owner" should match /policy:$ns.test-policy-1.0/
-
+ And the command completes successfully
+ And I reset the command list
+ When I run `conjur resource show webservice:$ns/test-policy-1.0/web1`
+ Then the JSON at "owner" should be "cucumber:policy:%{NAMESPACE}/test-policy-1.0"