Skip to content

Commit

Permalink
Merge pull request #25 from danzilio/epel_strict_variables
Browse files Browse the repository at this point in the history
Fixing test failures when STRICT_VARIABLES is set to true
  • Loading branch information
danzilio committed Mar 31, 2016
2 parents 712f3ee + 926a087 commit d32277d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions spec/classes/letsencrypt_install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
end

describe 'with configure_epel => true' do
let(:facts) { { osfamily: 'RedHat', operatingsystem: 'RedHat', operatingsystemrelease: '7.0.1406', operatingsystemmajrelease: '7' } }
let(:additional_params) { { install_method: 'package', configure_epel: true } }

it { is_expected.to compile }
Expand Down
4 changes: 2 additions & 2 deletions spec/classes/letsencrypt_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
end

context 'on unknown operating systems' do
let(:facts) { { osfamily: 'Darwin', path: '/usr/bin' } }
let(:facts) { { osfamily: 'Darwin', operatingsystem: 'Darwin', operatingsystemrelease: '14.5.0', path: '/usr/bin' } }
let(:params) { { email: '[email protected]' } }

describe 'with defaults' do
Expand All @@ -122,7 +122,7 @@
end

context 'on EL7 operating system' do
let(:facts) { { osfamily: 'RedHat', operatingsystemrelease: '7.2', path: '/usr/bin' } }
let(:facts) { { osfamily: 'RedHat', operatingsystem: 'RedHat', operatingsystemrelease: '7.2', path: '/usr/bin' } }
let(:params) { { email: '[email protected]' } }

describe 'with defaults' do
Expand Down

0 comments on commit d32277d

Please sign in to comment.