summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Wrock <matt@mattwrock.com>2015-10-08 14:39:05 -0700
committerMatt Wrock <matt@mattwrock.com>2015-10-08 14:39:05 -0700
commit5def791d09944789970bebd72ee0bb593af73145 (patch)
treea0c666b939c9e8816a59a3647e07b14d55584288
parentf38138ebc52946148e4a9af89ddc259b440b899b (diff)
downloadchef-5def791d09944789970bebd72ee0bb593af73145.tar.gz
fix unit tests
-rw-r--r--spec/unit/provider/user/windows_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/provider/user/windows_spec.rb b/spec/unit/provider/user/windows_spec.rb
index e51e20a68f..7e08f971a9 100644
--- a/spec/unit/provider/user/windows_spec.rb
+++ b/spec/unit/provider/user/windows_spec.rb
@@ -107,8 +107,8 @@ describe Chef::Provider::User::Windows do
expect(@provider.set_options[:home_dir]).to eq('/home/adam')
end
- it "marks the primary_group_id attribute to be updated" do
- expect(@provider.set_options[:primary_group_id]).to eq(1000)
+ it "ignores the primary_group_id attribute" do
+ expect(@provider.set_options[:primary_group_id]).to eq(nil)
end
it "marks the user_id attribute to be updated" do