Skip to content

Commit c17a1e0

Browse files
author
Christopher Frost
committed
Revert mutative change from upstream repo
A previous commit contained a change that would of a required a mutative delta in downstream repos. This commit removes that change so that downstream repos can remain purely additive. [#93987158]
1 parent 1f04bd9 commit c17a1e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/java_buildpack/util/configuration_utils_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@
3737
end
3838

3939
it 'write configuration file' do
40-
test_file = Pathname.new(File.expand_path('../../../config/tomcat.yml', File.dirname(__FILE__)))
40+
test_file = Pathname.new(File.expand_path('../../../config/open_jdk_jre.yml', File.dirname(__FILE__)))
4141
original_content = file_contents test_file
42-
loaded_content = described_class.load('tomcat')
43-
described_class.write('tomcat', loaded_content)
44-
expect(described_class.load('tomcat')).to eq(loaded_content)
42+
loaded_content = described_class.load('open_jdk_jre')
43+
described_class.write('open_jdk_jre', loaded_content)
44+
expect(described_class.load('open_jdk_jre')).to eq(loaded_content)
4545
expect(file_contents test_file).to eq(original_content)
4646
end
4747

0 commit comments

Comments
 (0)