summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authortyler-ball <tyleraball@gmail.com>2016-01-21 14:24:09 -0700
committertyler-ball <tyleraball@gmail.com>2016-01-21 14:24:09 -0700
commit414a448b255c62da65bf028e5525fc6597e0cd7c (patch)
tree71359fd11ed1d2ee8927ef75de5131d0d76a1eaa /spec
parentc1d0c183cdecb2f1eb708ebbc3b7e04538e8d63d (diff)
downloadchef-414a448b255c62da65bf028e5525fc6597e0cd7c.tar.gz
Using random names in the group_spec so we don't blow away a real account
Diffstat (limited to 'spec')
-rw-r--r--spec/functional/resource/group_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/functional/resource/group_spec.rb b/spec/functional/resource/group_spec.rb
index 7566f79013..846bd2ba44 100644
--- a/spec/functional/resource/group_spec.rb
+++ b/spec/functional/resource/group_spec.rb
@@ -361,7 +361,7 @@ downthestreetalwayshadagoodsmileonhisfacetheoldmanwalkingdownthestreeQQQQQQ" }
end
describe "group modify action", :not_supported_on_solaris do
- let(:spec_members){ ["gordon", "eric", "anthony"] }
+ let(:spec_members){ ["mnou5sdz", "htulrvwq", "x4c3g1lu"] }
let(:included_members) { [spec_members[0], spec_members[1]] }
let(:excluded_members) { [spec_members[2]] }
let(:tested_action) { :modify }
@@ -389,7 +389,7 @@ downthestreetalwayshadagoodsmileonhisfacetheoldmanwalkingdownthestreeQQQQQQ" }
end
describe "group manage action", :not_supported_on_solaris do
- let(:spec_members){ ["gordon", "eric", "anthony"] }
+ let(:spec_members){ ["mnou5sdz", "htulrvwq", "x4c3g1lu"] }
let(:included_members) { [spec_members[0], spec_members[1]] }
let(:excluded_members) { [spec_members[2]] }
let(:tested_action) { :manage }
@@ -427,7 +427,7 @@ downthestreetalwayshadagoodsmileonhisfacetheoldmanwalkingdownthestreeQQQQQQ" }
describe "group resource with Usermod provider", :solaris_only do
describe "when excluded_members is set" do
- let(:excluded_members) { ["anthony"] }
+ let(:excluded_members) { ["x4c3g1lu"] }
it ":manage should raise an error" do
expect {group_resource.run_action(:manage) }.to raise_error