23 lines
596 B
Ruby
23 lines
596 B
Ruby
require_relative 'spec_helper'
|
|
|
|
describe 'openstack-dashboard::neutron-lbaas-dashboard' do
|
|
describe 'ubuntu' do
|
|
cached(:runner) { ChefSpec::SoloRunner.new(UBUNTU_OPTS) }
|
|
cached(:node) { runner.node }
|
|
cached(:chef_run) do
|
|
runner.converge('openstack-identity::server-apache', described_recipe)
|
|
end
|
|
|
|
include_context 'non_redhat_stubs'
|
|
include_context 'dashboard_stubs'
|
|
|
|
it do
|
|
expect(chef_run).to include_recipe('openstack-dashboard::horizon')
|
|
end
|
|
|
|
it do
|
|
expect(chef_run).to install_package('python3-neutron-lbaas-dashboard')
|
|
end
|
|
end
|
|
end
|