cookbook-openstack-telemetry/spec/agent-notification-suse_spe...

22 lines
606 B
Ruby

# encoding: UTF-8
require_relative 'spec_helper'
describe 'openstack-telemetry::agent-notification' do
describe 'suse' do
let(:runner) { ChefSpec::SoloRunner.new(SUSE_OPTS) }
let(:node) { runner.node }
let(:chef_run) { runner.converge(described_recipe) }
include_context 'telemetry-stubs'
it 'installs the agent-notification package' do
expect(chef_run).to upgrade_package 'openstack-ceilometer-agent-notification'
end
it 'starts the agent-notification service' do
expect(chef_run).to start_service 'openstack-ceilometer-agent-notification'
end
end
end