Files
cookbook-openstack-common/spec/client_spec.rb
Jens Harbott d0c2aa8fba Use python3 packages on Ubuntu
Python2.7 is going EOL soon, let us deploy python3 for Rocky from the
start, so we avoid having to switch later.

Change-Id: I9cacde567f1d390311ac425649d6f6843abf929b
2019-11-21 10:47:19 +00:00

17 lines
370 B
Ruby

# encoding: UTF-8
require_relative 'spec_helper'
describe 'openstack-common::client' do
describe 'ubuntu' do
let(:runner) { ChefSpec::SoloRunner.new(UBUNTU_OPTS) }
let(:node) { runner.node }
let(:chef_run) do
runner.converge(described_recipe)
end
it do
expect(chef_run).to upgrade_package('python3-openstackclient')
end
end
end