cookbook-openstack-telemetry/spec/client-redhat_spec.rb
galstrom21 5ae67ff44f Refactoring ChefSpec tests
Change-Id: I6c9148e0981f7c01eae4e09545ef011bf38bedfe
Addresses: blueprint refactor-spec-files
2014-03-18 15:47:44 -05:00

16 lines
377 B
Ruby

# encoding: UTF-8
require_relative 'spec_helper'
describe 'openstack-telemetry::client' do
describe 'redhat' do
let(:runner) { ChefSpec::Runner.new(REDHAT_OPTS) }
let(:node) { runner.node }
let(:chef_run) { runner.converge(described_recipe) }
it 'installs packages' do
expect(chef_run).to upgrade_package('python-ceilometerclient')
end
end
end