acceptance-features/dsl/policy_owner.feature in conjur-cli-5.1.1 vs acceptance-features/dsl/policy_owner.feature in conjur-cli-5.1.2
- old
+ new
@@ -9,11 +9,11 @@
end
"""
And I reset the command list
Scenario: --as-group works
- When I run `conjur policy load --as-group $ns/admin --collection $ns` interactively
+ When I run `conjur rubydsl load --as-group $ns/admin --collection $ns` interactively
And I pipe in the file "policy.rb"
And the command completes successfully
And I reset the command list
When I run `conjur role members policy:$ns/test-policy-1.0`
Then the JSON should be:
@@ -22,11 +22,11 @@
"cucumber:group:%{NAMESPACE}/admin"
]
"""
Scenario: --as-role works
- When I run `conjur policy load --as-role group:$ns/admin --collection $ns` interactively
+ When I run `conjur rubydsl load --as-role group:$ns/admin --collection $ns` interactively
And I pipe in the file "policy.rb"
And the command completes successfully
And I reset the command list
When I run `conjur role members policy:$ns/test-policy-1.0`
Then the JSON should be:
@@ -35,10 +35,10 @@
"cucumber:group:%{NAMESPACE}/admin"
]
"""
Scenario: --as-group doesn't interfere with policy ownership of other resources
- When I run `conjur policy load --as-group $ns/admin --collection $ns` interactively
+ When I run `conjur rubydsl load --as-group $ns/admin --collection $ns` interactively
And I pipe in the file "policy.rb"
And the command completes successfully
And I reset the command list
When I run `conjur resource show user:test_user@$ns-test-policy-1-0`
Then the JSON at "owner" should be "cucumber:policy:%{NAMESPACE}/test-policy-1.0"