summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorChristopher Webber <cwebber@getchef.com>2014-08-11 13:01:01 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2014-08-20 14:14:34 -0700
commitaa95da1a84f001eb3af082482402259666604039 (patch)
treef6cd8c7d3f92e472d8f1b6ba5cca5102e336c272 /spec
parent7e829c812b65465c8686294c9796c353d1b314a9 (diff)
downloadchef-aa95da1a84f001eb3af082482402259666604039.tar.gz
Updates spec for supermarket
Diffstat (limited to 'spec')
-rw-r--r--spec/unit/knife/cookbook_site_download_spec.rb2
-rw-r--r--spec/unit/knife/cookbook_site_share_spec.rb6
2 files changed, 4 insertions, 4 deletions
diff --git a/spec/unit/knife/cookbook_site_download_spec.rb b/spec/unit/knife/cookbook_site_download_spec.rb
index 7cd71c2211..76ce6508d7 100644
--- a/spec/unit/knife/cookbook_site_download_spec.rb
+++ b/spec/unit/knife/cookbook_site_download_spec.rb
@@ -26,7 +26,7 @@ describe Chef::Knife::CookbookSiteDownload do
@knife.name_args = ['apache2']
@noauth_rest = double('no auth rest')
@stderr = StringIO.new
- @cookbook_api_url = 'http://cookbooks.opscode.com/api/v1/cookbooks'
+ @cookbook_api_url = 'https://supermarket.getchef.com/api/v1/cookbooks'
@version = '1.0.2'
@version_us = @version.gsub '.', '_'
@current_data = { 'deprecated' => false,
diff --git a/spec/unit/knife/cookbook_site_share_spec.rb b/spec/unit/knife/cookbook_site_share_spec.rb
index a46783274b..902e5f6115 100644
--- a/spec/unit/knife/cookbook_site_share_spec.rb
+++ b/spec/unit/knife/cookbook_site_share_spec.rb
@@ -108,11 +108,11 @@ describe Chef::Knife::CookbookSiteShare do
File.stub(:open).and_return(true)
end
- it 'should post the cookbook to "http://cookbooks.opscode.com"' do
- response_text = {:uri => 'http://cookbooks.opscode.com/cookbooks/cookbook_name'}.to_json
+ it 'should post the cookbook to "https://supermarket.getchef.com"' do
+ response_text = {:uri => 'https://supermarket.getchef.com/cookbooks/cookbook_name'}.to_json
@upload_response.stub(:body).and_return(response_text)
@upload_response.stub(:code).and_return(201)
- Chef::CookbookSiteStreamingUploader.should_receive(:post).with(/cookbooks\.opscode\.com/, anything(), anything(), anything())
+ Chef::CookbookSiteStreamingUploader.should_receive(:post).with(/supermarket\.getchef\.com/, anything(), anything(), anything())
@knife.run
end