Skip to content

Commit

Permalink
fix tests for tylerwalts#31
Browse files Browse the repository at this point in the history
  • Loading branch information
boorad committed Jul 9, 2015
1 parent 91d6047 commit 523b59d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions spec/classes/jdk_oracle_init_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
it {
is_expected.to contain_exec( 'get_jdk_installer')
is_expected.to contain_exec('extract_jdk')
is_expected.to contain_file('/etc/alternatives/java').with({
:ensure => 'link',
})
is_expected.to contain_file('/etc/profile.d/java.sh')
is_expected.to contain_file('/opt/jdk-8').with({
:ensure => 'link',
})
Expand Down Expand Up @@ -45,9 +43,7 @@
it {
is_expected.to contain_exec( 'get_jdk_installer')
is_expected.to contain_exec('extract_jdk')
is_expected.to contain_file('/etc/alternatives/java').with({
:ensure => 'link',
})
is_expected.to contain_file('/etc/profile.d/java.sh')
is_expected.to contain_file('/opt/jdk-7').with({
:ensure => 'link',
})
Expand Down

0 comments on commit 523b59d

Please sign in to comment.