diff --git a/spec/common-redhat_spec.rb b/spec/common-redhat_spec.rb index 3c4913a..95a135c 100644 --- a/spec/common-redhat_spec.rb +++ b/spec/common-redhat_spec.rb @@ -15,14 +15,5 @@ describe 'openstack-orchestration::common' do include_examples 'expect installs common heat package' include_examples 'expect installs mysql package' include_examples 'expect runs db migrations' - - it 'installs postgresql python packages if explicitly told' do - node.set['openstack']['db']['orchestration']['service_type'] = 'postgresql' - - expect(chef_run).to upgrade_package 'python-psycopg2' - expect(chef_run).not_to upgrade_package 'MySQL-python' - expect(chef_run).not_to upgrade_package 'python-ibm-db' - expect(chef_run).not_to upgrade_package 'python-ibm-db-sa' - end end end diff --git a/spec/common_spec.rb b/spec/common_spec.rb index 3fe4efa..548ee41 100644 --- a/spec/common_spec.rb +++ b/spec/common_spec.rb @@ -21,14 +21,5 @@ describe 'openstack-orchestration::common' do it 'installs mysql python packages by default' do expect(chef_run).to upgrade_package 'python-mysqldb' end - - it 'installs postgresql python packages if explicitly told' do - node.set['openstack']['db']['orchestration']['service_type'] = 'postgresql' - - expect(chef_run).to upgrade_package 'python-psycopg2' - expect(chef_run).not_to upgrade_package 'MySQL-python' - expect(chef_run).not_to upgrade_package 'python-ibm-db' - expect(chef_run).not_to upgrade_package 'python-ibm-db-sa' - end end end