Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing test failures when STRICT_VARIABLES is set to true #25

Merged
merged 3 commits into from
Mar 31, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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