diff options
Diffstat (limited to 'spec/support/shared')
-rw-r--r-- | spec/support/shared/unit/provider/useradd_based_user_provider.rb | 8 |
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 |