Files
cookbook-openstack-common/spec/client_spec.rb
Mark Vanderwiel e0915d16d4 Allow packages to be updatable
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: I3e313e9f9b5adb10786a7f95a53e5254dda8466b
Implements: blueprint allow-package-updates
2014-05-02 10:28:13 -05:00

19 lines
401 B
Ruby
Executable File

# encoding: UTF-8
require_relative 'spec_helper'
describe 'openstack-common::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 common client packages' do
expect(chef_run).to upgrade_package('python-openstackclient')
end
end
end