Fixes the tests for SLES java_home location
This commit is contained in:
@@ -248,7 +248,7 @@ describe 'java', type: :class do
|
||||
let(:facts) { { osfamily: 'Suse', operatingsystem: 'SLES', operatingsystemrelease: '11.4', architecture: 'x86_64' } }
|
||||
|
||||
it { is_expected.to contain_package('java').with_name('java-1_7_1-ibm-devel') }
|
||||
it { is_expected.to contain_file_line('java-home-environment').with_line('JAVA_HOME=/usr/lib64/jvm/java-1.7.0-ibm-1.7.0/') }
|
||||
it { is_expected.to contain_file_line('java-home-environment').with_line('JAVA_HOME=/usr/lib64/jvm/java-1.7.1-ibm-1.7.1/') }
|
||||
end
|
||||
|
||||
context 'when select default for SLES 12.0' do
|
||||
|
||||
Reference in New Issue
Block a user