Skip to content

Commit

Permalink
unit tests: print puppet/facter version
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Oct 31, 2019
1 parent 7a6030d commit 34c7dc1
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion spec/classes/nginx_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/resource_geo_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/resource_location_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/resource_mailhost_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/resource_map_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/resource_server_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/resource_snippet_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/resource_stream_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/defines/resource_upstream_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34c7dc1

Please sign in to comment.