summaryrefslogtreecommitdiff
path: root/spec/unit/knife
diff options
context:
space:
mode:
authordanielsdeleo <dan@getchef.com>2014-04-22 21:11:34 -0700
committerdanielsdeleo <dan@getchef.com>2014-04-24 09:49:52 -0700
commit03db320b200d13ba8980d7c104e955cf2ba7aa53 (patch)
treea3adf74f62ebe0050cfd38dbec3ddf56c1bf8c66 /spec/unit/knife
parentbfc0b5a5f5e7cc5255a2bc20b50cc2599ec4d7f6 (diff)
downloadchef-03db320b200d13ba8980d7c104e955cf2ba7aa53.tar.gz
Fix rspec warnings
Diffstat (limited to 'spec/unit/knife')
-rw-r--r--spec/unit/knife/cookbook_site_install_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/knife/cookbook_site_install_spec.rb b/spec/unit/knife/cookbook_site_install_spec.rb
index 3086c817d9..c756380a80 100644
--- a/spec/unit/knife/cookbook_site_install_spec.rb
+++ b/spec/unit/knife/cookbook_site_install_spec.rb
@@ -52,7 +52,7 @@ describe Chef::Knife::CookbookSiteInstall do
end
#Stubs for CookbookSCMRepo
- @repo = stub(:sanity_check => true, :reset_to_default_state => true,
+ @repo = double(:sanity_check => true, :reset_to_default_state => true,
:prepare_to_import => true, :finalize_updates_to => true,
:merge_updates_from => true)
Chef::Knife::CookbookSCMRepo.stub(:new).and_return(@repo)