fuel-library/tests/noop/spec/hosts/common.rb
Stanislaw Bogatkin 574820d062 Change path to excluded spec in common test
Change path due to the fact that real spec was moved too.

Change-Id: Id80cc048dbd2ecbf532a2df873d8e7700c8a4a36
Closes-Bug: #1552340
2016-03-02 20:10:43 +03:00

17 lines
431 B
Ruby

shared_examples 'compute_service_common' do
let (:nova_compute_service_name) do
Noop.puppet_class_include 'nova::params'
Noop.variable 'nova::params::compute_service_name'
end
it do
is_expected.not_to contain_service(nova_compute_service_name).with(:ensure => 'running')
end
end
shared_examples 'common' do
include_examples 'compute_service_common' unless Noop.current_spec_is? 'roles/enable_compute'
end