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
18 lines
467 B
Ruby
18 lines
467 B
Ruby
# encoding: UTF-8
|
|
require_relative 'spec_helper'
|
|
|
|
describe 'openstack-network::client' do
|
|
describe 'ubuntu' do
|
|
let(:runner) { ChefSpec::Runner.new(UBUNTU_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')
|
|
expect(chef_run).to upgrade_package('python-pyparsing')
|
|
end
|
|
end
|
|
end
|