Browse Source

Merge "Remove invalid and unused tests code"

tags/17.4.0
Zuul 1 month ago
committed by Gerrit Code Review
parent
commit
21985ad9f7
2 changed files with 0 additions and 30 deletions
  1. +0
    -6
      spec/fixtures/manifests/site.pp
  2. +0
    -24
      spec/hosts/test-001_spec.rb

+ 0
- 6
spec/fixtures/manifests/site.pp View File

@@ -1,6 +0,0 @@
node default {}

node 'test-001.example.org' {
include nova
include nova::spicehtml5proxy
}

+ 0
- 24
spec/hosts/test-001_spec.rb View File

@@ -1,24 +0,0 @@
require 'spec_helper'

describe 'test-001.example.org' do

shared_examples_for 'both services' do
it 'nova::spicehtml5proxy' do
is_expected.to contain_class('nova::spicehtml5proxy')
is_expected.to contain_nova__generic_service('spicehtml5proxy')
end
end

on_supported_os({
:supported_os => OSDefaults.get_supported_os
}).each do |os,facts|
context "on #{os}" do
let (:facts) do
facts.merge!(OSDefaults.get_facts())
end

it_configures 'both services'
end
end

end

Loading…
Cancel
Save