summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorChris Doherty <cdoherty@chef.io>2015-11-10 13:50:24 -0800
committerChris Doherty <cdoherty@chef.io>2015-11-10 15:12:04 -0800
commit2434845d9c6adea0bfb834f9ba9a0db4a17f43ad (patch)
tree34d41bec51906ddfb77db5fc73aec6248362493a /spec
parentadc16239316d4e67929db12211700c7cd96b1c67 (diff)
downloadchef-zero-2434845d9c6adea0bfb834f9ba9a0db4a17f43ad.tar.gz
Set admin requestor users' :create_me to !ENV['CHEF_FS'].
Diffstat (limited to 'spec')
-rw-r--r--spec/support/oc_pedant.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/support/oc_pedant.rb b/spec/support/oc_pedant.rb
index 1be7ddf..1359321 100644
--- a/spec/support/oc_pedant.rb
+++ b/spec/support/oc_pedant.rb
@@ -112,20 +112,20 @@ requestors({
# An administrator in the testing organization
:admin => {
:name => cheffs_or_else_user("pedant_admin_user"),
- :create_me => true,
+ :create_me => !ENV['CHEF_FS'],
:create_knife => true
},
:non_admin => {
:name => cheffs_or_else_user("pedant_user"),
- :create_me => true,
+ :create_me => !ENV['CHEF_FS'],
:create_knife => true
},
# A user that is not a member of the testing organization
:bad => {
:name => cheffs_or_else_user("pedant-nobody"),
- :create_me => true,
+ :create_me => !ENV['CHEF_FS'],
:create_knife => true,
:associate => false
},