cookbook-openstack-orchestr.../spec/api-redhat_spec.rb
Samuel Cassiba b547aaa80c Deprecated python-heatclient
- deleted client.rb
- deprecated python-heatclient references

Implements blueprint newton-xenial

Change-Id: I54d8190f77b7731dfb518871f080f62718cedc47
2016-12-14 20:06:29 -08:00

22 lines
608 B
Ruby

# encoding: UTF-8
require_relative 'spec_helper'
describe 'openstack-orchestration::api' do
describe 'redhat' do
let(:runner) { ChefSpec::SoloRunner.new(REDHAT_OPTS) }
let(:node) { runner.node }
let(:chef_run) { runner.converge(described_recipe) }
include_context 'orchestration_stubs'
include_examples 'expect runs openstack orchestration common recipe'
it 'installs heat api packages' do
expect(chef_run).to upgrade_package 'openstack-heat-api'
end
it 'starts heat api on boot' do
expect(chef_run).to enable_service('openstack-heat-api')
end
end
end