File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 15
15
end
16
16
17
17
it 'creates an installer.properties file' do
18
- expect ( chef_run ) . to create_template ( '/var/chef/cache /installer.properties')
18
+ expect ( chef_run ) . to create_template ( Chef :: Config [ :file_cache_path ] + ' /installer.properties')
19
19
end
20
20
21
21
it 'downloads the remote jdk file' do
22
- expect ( chef_run ) . to create_remote_file ( '/var/chef/cache /ibm-java.bin')
22
+ expect ( chef_run ) . to create_remote_file ( Chef :: Config [ :file_cache_path ] + ' /ibm-java.bin')
23
23
end
24
24
25
25
it 'runs the installer' do
Original file line number Diff line number Diff line change 11
11
end
12
12
13
13
it 'downloads the remote jdk file' do
14
- expect ( chef_run ) . to create_remote_file ( '/var/chef/cache /ibm-java.tar.gz')
14
+ expect ( chef_run ) . to create_remote_file ( Chef :: Config [ :file_cache_path ] + ' /ibm-java.tar.gz')
15
15
end
16
16
17
17
it 'create java_home directory' do
You can’t perform that action at this time.
0 commit comments