Try new ChefDK 9.0

Since it's early for us in the M release, we could consider upgrading
ChefDK.  This patch is a test run for that.  Probably need a test run
for the Repo as well before making a decision.

Cleanup minor unit test warning

Change-Id: I9dd80cd10ac0eacfc7146eec48d862dc2f3d7dc2
This commit is contained in:
Mark Vanderwiel 2015-10-08 11:48:45 -05:00
parent 1810d2d190
commit 83f887fc23
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
sudo apt-get -y install build-essential liblzma-dev zlib1g-dev
# install chefdk
chefdk=chefdk_0.7.0-1_amd64.deb
chefdk=chefdk_0.9.0-1_amd64.deb
wget -nv -t 3 https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/$chefdk
sudo dpkg -i $chefdk
rm $chefdk

View File

@ -124,7 +124,7 @@ describe 'openstack-common::default' do
allow(subject).to receive(:openstack_command).with('glance', 'image-list', :env, {})
.and_raise("No image with a name or ID of 'test' exists. (1)")
expect { subject.image_id('test', :env) }.to raise_error
expect { subject.image_id('test', :env) }.to raise_error(RuntimeError)
end
end