5ae67ff44f
Change-Id: I6c9148e0981f7c01eae4e09545ef011bf38bedfe Addresses: blueprint refactor-spec-files
22 lines
577 B
Ruby
22 lines
577 B
Ruby
# encoding: UTF-8
|
|
|
|
require_relative 'spec_helper'
|
|
|
|
describe 'openstack-telemetry::agent-compute' do
|
|
describe 'suse' do
|
|
let(:runner) { ChefSpec::Runner.new(SUSE_OPTS) }
|
|
let(:node) { runner.node }
|
|
let(:chef_run) { runner.converge(described_recipe) }
|
|
|
|
include_context 'telemetry-stubs'
|
|
|
|
it 'installs the agent-compute package' do
|
|
expect(chef_run).to install_package 'openstack-ceilometer-agent-compute'
|
|
end
|
|
|
|
it 'starts the agent-compute service' do
|
|
expect(chef_run).to start_service 'openstack-ceilometer-agent-compute'
|
|
end
|
|
end
|
|
end
|