In order for package updates to occur, package resources need to use the upgrade action. This is first phase of blueprint, to get some consistency, next phase is to allow some update control. Change-Id: I86750067b47766220f497303b2e187c93aeadc2f Implements: blueprint allow-package-updates
17 lines
405 B
Ruby
17 lines
405 B
Ruby
# encoding: UTF-8
|
|
require_relative 'spec_helper'
|
|
|
|
describe 'openstack-network::client' do
|
|
describe 'redhat' do
|
|
let(:runner) { ChefSpec::Runner.new(REDHAT_OPTS) }
|
|
let(:node) { runner.node }
|
|
let(:chef_run) do
|
|
runner.converge(described_recipe)
|
|
end
|
|
|
|
it 'upgrades python neutron client package' do
|
|
expect(chef_run).to upgrade_package('python-neutronclient')
|
|
end
|
|
end
|
|
end
|