summaryrefslogtreecommitdiff
path: root/spec/support/shared
diff options
context:
space:
mode:
authorPete Higgins <pete@peterhiggins.org>2020-05-05 16:06:59 -0700
committerTim Smith <tsmith84@gmail.com>2020-05-18 20:29:40 -0700
commit3bf87c6c7ffb66de1aec3d9f88e2329e2aba7b68 (patch)
tree8c70ffb93a20c217681d648d6c513e0148340bf2 /spec/support/shared
parentd856f678732b26d0ad13d584412257f6ab7a7493 (diff)
downloadchef-3bf87c6c7ffb66de1aec3d9f88e2329e2aba7b68.tar.gz
Replace nonsense word with other silly words.
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
Diffstat (limited to 'spec/support/shared')
-rw-r--r--spec/support/shared/unit/provider/useradd_based_user_provider.rb8
1 files changed, 4 insertions, 4 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