diff options
author | Thom May <thom@may.lt> | 2017-04-28 09:40:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-28 09:40:34 +0100 |
commit | 425e8ac704ec2bc12f8377b71c00acc4d3404b0c (patch) | |
tree | b83f53df41f77091110eb9dc2b32c93c8370b693 /spec/functional | |
parent | 592046241c24ac4a94b8e2d21ce91a7d918fdc21 (diff) | |
parent | c6641df6c0befef32cc36d61e088c8555e98818d (diff) | |
download | chef-425e8ac704ec2bc12f8377b71c00acc4d3404b0c.tar.gz |
Merge pull request #6055 from coderanger/package-options
Clean up more stubbed properties in tests
Diffstat (limited to 'spec/functional')
-rw-r--r-- | spec/functional/resource/registry_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/resource/registry_spec.rb b/spec/functional/resource/registry_spec.rb index 5c97626c78..b6767d47a3 100644 --- a/spec/functional/resource/registry_spec.rb +++ b/spec/functional/resource/registry_spec.rb @@ -124,7 +124,7 @@ describe Chef::Resource::RegistryKey, :windows_only, :broken => true do @new_resource.cookbook_name = "monkey" @cookbook_version = double("Cookbook::Version", :version => "1.2.3") - allow(@new_resource).to receive(:cookbook_version).and_return(@cookbook_version) + @new_resource.cookbook_version(@cookbook_version) end after (:all) do |