diff options
author | John Keiser <jkeiser@opscode.com> | 2014-05-27 11:23:28 -0700 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2014-05-27 11:23:28 -0700 |
commit | a5fc932b6f24a89a499fdc98655120cd816417f7 (patch) | |
tree | 394dc7abd1c34dc7086bc4042b0772acbebdfcc2 /spec/integration/knife/cookbook_api_ipv6_spec.rb | |
parent | d3bd7e18b7378a19fa402d9b34788b9dc1e466bf (diff) | |
download | chef-a5fc932b6f24a89a499fdc98655120cd816417f7.tar.gz |
Listen for the default port 8900, not 8889
Diffstat (limited to 'spec/integration/knife/cookbook_api_ipv6_spec.rb')
-rw-r--r-- | spec/integration/knife/cookbook_api_ipv6_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/knife/cookbook_api_ipv6_spec.rb b/spec/integration/knife/cookbook_api_ipv6_spec.rb index bde449ee71..ad7d5e857f 100644 --- a/spec/integration/knife/cookbook_api_ipv6_spec.rb +++ b/spec/integration/knife/cookbook_api_ipv6_spec.rb @@ -74,7 +74,7 @@ END_VALIDATION_PEM let(:knife_rb_content) do <<-END_CLIENT_RB -chef_server_url "http://[::1]:8889" +chef_server_url "http://[::1]:8900" syntax_check_cache_path '#{cache_path}' client_key '#{path_to('config/knifeuser.pem')}' node_name 'whoisthisis' @@ -89,7 +89,7 @@ END_CLIENT_RB it "successfully uploads a cookbook" do shell_out!("knife cookbook upload apache2 #{knife_config_flag}", :cwd => chef_dir) - versions_list_json = Chef::HTTP::Simple.new("http://[::1]:8889").get("/cookbooks/apache2", "accept" => "application/json") + versions_list_json = Chef::HTTP::Simple.new("http://[::1]:8900").get("/cookbooks/apache2", "accept" => "application/json") versions_list = Chef::JSONCompat.from_json(versions_list_json) versions_list["apache2"]["versions"].should_not be_empty end |