From dbad119e853398d13157f596a885c047492b434f Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 15 Sep 2020 11:12:31 +0900 Subject: [PATCH] Remove invalid and unused tests code This patch cleans up the unused tests code, which are also invalid since nova::consoleauth was removed[1]. [1] 31a1b83a6d92e7067d6ee52e5759461b52c17f69 Change-Id: I46ae5d30f929113f64b103920753325262da0667 --- spec/fixtures/manifests/site.pp | 6 ------ spec/hosts/test-001_spec.rb | 24 ------------------------ 2 files changed, 30 deletions(-) delete mode 100644 spec/fixtures/manifests/site.pp delete mode 100644 spec/hosts/test-001_spec.rb diff --git a/spec/fixtures/manifests/site.pp b/spec/fixtures/manifests/site.pp deleted file mode 100644 index 46bd78e77..000000000 --- a/spec/fixtures/manifests/site.pp +++ /dev/null @@ -1,6 +0,0 @@ -node default {} - -node 'test-001.example.org' { - include nova - include nova::spicehtml5proxy -} diff --git a/spec/hosts/test-001_spec.rb b/spec/hosts/test-001_spec.rb deleted file mode 100644 index 883ca32a5..000000000 --- a/spec/hosts/test-001_spec.rb +++ /dev/null @@ -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