Skip to content

Commit

Permalink
Revert mutative change from upstream repo
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
Christopher Frost committed Jun 23, 2015
1 parent 1f04bd9 commit c17a1e0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/java_buildpack/util/configuration_utils_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
end

it 'write configuration file' do
test_file = Pathname.new(File.expand_path('../../../config/tomcat.yml', File.dirname(__FILE__)))
test_file = Pathname.new(File.expand_path('../../../config/open_jdk_jre.yml', File.dirname(__FILE__)))
original_content = file_contents test_file
loaded_content = described_class.load('tomcat')
described_class.write('tomcat', loaded_content)
expect(described_class.load('tomcat')).to eq(loaded_content)
loaded_content = described_class.load('open_jdk_jre')
described_class.write('open_jdk_jre', loaded_content)
expect(described_class.load('open_jdk_jre')).to eq(loaded_content)
expect(file_contents test_file).to eq(original_content)
end

Expand Down

0 comments on commit c17a1e0

Please sign in to comment.