summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorSamuel Cassiba <s@cassiba.com>2016-10-18 08:46:51 -0700
committerSamuel Cassiba <s@cassiba.com>2016-12-14 19:15:39 -0800
commit13ae9c1784aa15a1031672f6fe43f88472e1c887 (patch)
treef12d4b93fdbba85cb1858e1277c9962f1a456699 /spec
parent49d23da16764c499abde28d670ab8f0a4d6025e8 (diff)
Deprecated python-cinderclient
- deleted client.rb - deprecated python-cinderclient references - incremented apt to 5.0 Implements blueprint newton-xenial Depends-On: I57c8729e8732161ac34caa85259de8264e99c56d Change-Id: I1b8c34eea50ed10d6c040caa89802dd64124ec74
Notes
Notes (review): Code-Review+2: Christoph Albers <c.albers@x-ion.de> Workflow+1: Jan Klare <j.klare@cloudbau.de> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Tue, 20 Dec 2016 11:07:07 +0000 Reviewed-on: https://review.openstack.org/388085 Project: openstack/cookbook-openstack-block-storage Branch: refs/heads/master
Diffstat (limited to 'spec')
-rw-r--r--spec/api-redhat_spec.rb2
-rw-r--r--spec/api_spec.rb1
-rw-r--r--spec/client-redhat_spec.rb16
-rw-r--r--spec/client_spec.rb12
4 files changed, 1 insertions, 30 deletions
diff --git a/spec/api-redhat_spec.rb b/spec/api-redhat_spec.rb
index 3a18ba7..290f03b 100644
--- a/spec/api-redhat_spec.rb
+++ b/spec/api-redhat_spec.rb
@@ -13,7 +13,7 @@ describe 'openstack-block-storage::api' do
13 include_context 'block-storage-stubs' 13 include_context 'block-storage-stubs'
14 14
15 it 'upgrades cinder api package' do 15 it 'upgrades cinder api package' do
16 expect(chef_run).to upgrade_package 'python-cinderclient' 16 expect(chef_run).to upgrade_package 'openstack-cinder'
17 end 17 end
18 18
19 it 'upgrades mysql python package' do 19 it 'upgrades mysql python package' do
diff --git a/spec/api_spec.rb b/spec/api_spec.rb
index ba03c7c..19471b4 100644
--- a/spec/api_spec.rb
+++ b/spec/api_spec.rb
@@ -16,7 +16,6 @@ describe 'openstack-block-storage::api' do
16 16
17 it 'upgrades cinder api packages' do 17 it 'upgrades cinder api packages' do
18 expect(chef_run).to upgrade_package('cinder-api') 18 expect(chef_run).to upgrade_package('cinder-api')
19 expect(chef_run).to upgrade_package('python-cinderclient')
20 end 19 end
21 20
22 it 'starts cinder api on boot' do 21 it 'starts cinder api on boot' do
diff --git a/spec/client-redhat_spec.rb b/spec/client-redhat_spec.rb
deleted file mode 100644
index de32b0b..0000000
--- a/spec/client-redhat_spec.rb
+++ /dev/null
@@ -1,16 +0,0 @@
1# encoding: UTF-8
2require_relative 'spec_helper'
3
4describe 'openstack-block-storage::client' do
5 describe 'redhat' do
6 let(:runner) { ChefSpec::SoloRunner.new(REDHAT_OPTS) }
7 let(:node) { runner.node }
8 let(:chef_run) do
9 runner.converge(described_recipe)
10 end
11
12 it 'upgrades packages' do
13 expect(chef_run).to upgrade_package('python-cinderclient')
14 end
15 end
16end
diff --git a/spec/client_spec.rb b/spec/client_spec.rb
deleted file mode 100644
index c63acc9..0000000
--- a/spec/client_spec.rb
+++ /dev/null
@@ -1,12 +0,0 @@
1# encoding: UTF-8
2require_relative 'spec_helper'
3
4describe 'openstack-block-storage::client' do
5 describe 'ubuntu' do
6 let(:runner) { ChefSpec::SoloRunner.new(UBUNTU_OPTS) }
7 let(:node) { runner.node }
8 let(:chef_run) do
9 runner.converge(described_recipe)
10 end
11 end
12end