diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-05-05 16:06:59 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-05-18 20:29:40 -0700 |
commit | 3bf87c6c7ffb66de1aec3d9f88e2329e2aba7b68 (patch) | |
tree | 8c70ffb93a20c217681d648d6c513e0148340bf2 | |
parent | d856f678732b26d0ad13d584412257f6ab7a7493 (diff) | |
download | chef-3bf87c6c7ffb66de1aec3d9f88e2329e2aba7b68.tar.gz |
Replace nonsense word with other silly words.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
-rw-r--r-- | spec/support/shared/unit/provider/useradd_based_user_provider.rb | 8 | ||||
-rw-r--r-- | spec/unit/provider/group/groupadd_spec.rb | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/spec/support/shared/unit/provider/useradd_based_user_provider.rb b/spec/support/shared/unit/provider/useradd_based_user_provider.rb index 97c7ab3d3e..1f9f87866c 100644 --- a/spec/support/shared/unit/provider/useradd_based_user_provider.rb +++ b/spec/support/shared/unit/provider/useradd_based_user_provider.rb @@ -106,25 +106,25 @@ shared_examples_for "a useradd-based user provider" do |supported_useradd_option describe "when the resource has a different home directory and supports home directory management" do before do - @new_resource.home "/wowaweea" + @new_resource.home "/banana" @new_resource.manage_home true end it "should set -m -d /homedir" do - expect(provider.universal_options).to eq(%w{-d /wowaweea}) + expect(provider.universal_options).to eq(%w{-d /banana}) expect(provider.usermod_options).to eq(%w{-m}) end end describe "when the resource has a different home directory and supports home directory management (using real attributes)" do before do - @new_resource.home("/wowaweea") + @new_resource.home("/banana") @new_resource.manage_home true @new_resource.non_unique false end it "should set -m -d /homedir" do - expect(provider.universal_options).to eq(%w{-d /wowaweea}) + expect(provider.universal_options).to eq(%w{-d /banana}) expect(provider.usermod_options).to eq(%w{-m}) end end diff --git a/spec/unit/provider/group/groupadd_spec.rb b/spec/unit/provider/group/groupadd_spec.rb index ad075f0c42..50ee766cdb 100644 --- a/spec/unit/provider/group/groupadd_spec.rb +++ b/spec/unit/provider/group/groupadd_spec.rb @@ -57,7 +57,7 @@ describe Chef::Provider::Group::Groupadd do end it "should set the option for #{property} if the new resources #{property} is not null" do - allow(new_resource).to receive(property).and_return("wowaweea") + allow(new_resource).to receive(property).and_return("cactus") expect(provider.set_options).to eql([ option, new_resource.send(property), new_resource.group_name]) end end |