From 40737bac047aea5965ca227f92ee6e93805d1224 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Fri, 1 Nov 2019 00:32:57 +0100 Subject: [PATCH] unit tests: print puppet/facter version --- spec/classes/nginx_spec.rb | 2 +- spec/defines/resource_geo_spec.rb | 2 +- spec/defines/resource_location_spec.rb | 2 +- spec/defines/resource_mailhost_spec.rb | 2 +- spec/defines/resource_map_spec.rb | 2 +- spec/defines/resource_server_spec.rb | 2 +- spec/defines/resource_snippet_spec.rb | 2 +- spec/defines/resource_stream_spec.rb | 2 +- spec/defines/resource_upstream_spec.rb | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/spec/classes/nginx_spec.rb b/spec/classes/nginx_spec.rb index 10ff08825..2d5ece280 100644 --- a/spec/classes/nginx_spec.rb +++ b/spec/classes/nginx_spec.rb @@ -2,7 +2,7 @@ describe 'nginx' do on_supported_os.each do |os, facts| - context "on #{os}" do + context "on #{os} with Facter #{facts[:facterversion]} and Puppet #{facts[:puppetversion]}" do let(:facts) do facts end diff --git a/spec/defines/resource_geo_spec.rb b/spec/defines/resource_geo_spec.rb index cec243e94..7f7ed15e5 100644 --- a/spec/defines/resource_geo_spec.rb +++ b/spec/defines/resource_geo_spec.rb @@ -2,7 +2,7 @@ describe 'nginx::resource::geo' do on_supported_os.each do |os, facts| - context "on #{os}" do + context "on #{os} with Facter #{facts[:facterversion]} and Puppet #{facts[:puppetversion]} with Facter #{facts[:facterversion]} and Puppet #{facts[:puppetversion]}" do let(:facts) do facts end diff --git a/spec/defines/resource_location_spec.rb b/spec/defines/resource_location_spec.rb index a6bf11d71..0c0baf3b4 100644 --- a/spec/defines/resource_location_spec.rb +++ b/spec/defines/resource_location_spec.rb @@ -3,7 +3,7 @@ describe 'nginx::resource::location' do on_supported_os.each do |os, facts| - context "on #{os}" do + context "on #{os} with Facter #{facts[:facterversion]} and Puppet #{facts[:puppetversion]}" do let(:facts) do facts end diff --git a/spec/defines/resource_mailhost_spec.rb b/spec/defines/resource_mailhost_spec.rb index 17a42f336..1c03b0709 100644 --- a/spec/defines/resource_mailhost_spec.rb +++ b/spec/defines/resource_mailhost_spec.rb @@ -2,7 +2,7 @@ describe 'nginx::resource::mailhost' do on_supported_os.each do |os, facts| - context "on #{os}" do + context "on #{os} with Facter #{facts[:facterversion]} and Puppet #{facts[:puppetversion]}" do let(:facts) do facts end diff --git a/spec/defines/resource_map_spec.rb b/spec/defines/resource_map_spec.rb index 790f7c5d7..e863fc336 100644 --- a/spec/defines/resource_map_spec.rb +++ b/spec/defines/resource_map_spec.rb @@ -2,7 +2,7 @@ describe 'nginx::resource::map' do on_supported_os.each do |os, facts| - context "on #{os}" do + context "on #{os} with Facter #{facts[:facterversion]} and Puppet #{facts[:puppetversion]}" do let(:facts) do facts end diff --git a/spec/defines/resource_server_spec.rb b/spec/defines/resource_server_spec.rb index 3433c8dd9..1b41880f9 100644 --- a/spec/defines/resource_server_spec.rb +++ b/spec/defines/resource_server_spec.rb @@ -2,7 +2,7 @@ describe 'nginx::resource::server' do on_supported_os.each do |os, facts| - context "on #{os}" do + context "on #{os} with Facter #{facts[:facterversion]} and Puppet #{facts[:puppetversion]}" do let(:facts) do facts end diff --git a/spec/defines/resource_snippet_spec.rb b/spec/defines/resource_snippet_spec.rb index a95fcd552..80f517dd0 100644 --- a/spec/defines/resource_snippet_spec.rb +++ b/spec/defines/resource_snippet_spec.rb @@ -2,7 +2,7 @@ describe 'nginx::resource::snippet' do on_supported_os.each do |os, facts| - context "on #{os}" do + context "on #{os} with Facter #{facts[:facterversion]} and Puppet #{facts[:puppetversion]}" do let(:facts) do facts end diff --git a/spec/defines/resource_stream_spec.rb b/spec/defines/resource_stream_spec.rb index 76dbe4a33..a5db4692e 100644 --- a/spec/defines/resource_stream_spec.rb +++ b/spec/defines/resource_stream_spec.rb @@ -2,7 +2,7 @@ describe 'nginx::resource::streamhost' do on_supported_os.each do |os, facts| - context "on #{os}" do + context "on #{os} with Facter #{facts[:facterversion]} and Puppet #{facts[:puppetversion]}" do let(:facts) do facts end diff --git a/spec/defines/resource_upstream_spec.rb b/spec/defines/resource_upstream_spec.rb index 94a4cd836..fc7e5113c 100644 --- a/spec/defines/resource_upstream_spec.rb +++ b/spec/defines/resource_upstream_spec.rb @@ -2,7 +2,7 @@ describe 'nginx::resource::upstream' do on_supported_os.each do |os, facts| - context "on #{os}" do + context "on #{os} with Facter #{facts[:facterversion]} and Puppet #{facts[:puppetversion]}" do let(:facts) do facts end