summaryrefslogtreecommitdiff
path: root/spec/support/shared/unit
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/shared/unit')
-rw-r--r--spec/support/shared/unit/provider/useradd_based_user_provider.rb2
1 files changed, 1 insertions, 1 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 1f9f87866c..7e7a8ae857 100644
--- a/spec/support/shared/unit/provider/useradd_based_user_provider.rb
+++ b/spec/support/shared/unit/provider/useradd_based_user_provider.rb
@@ -169,7 +169,7 @@ shared_examples_for "a useradd-based user provider" do |supported_useradd_option
before do
provider.new_resource.system true
# there is no public API to set attribute's value to nil
- provider.new_resource.instance_variable_set("@home", nil)
+ provider.new_resource.instance_variable_set(:@home, nil)
end
it "should not include -m or -d in the command options" do