Skip to content

Commit 2fef6ed

Browse files
author
Christopher Frost
committed
Minor improvement to test coverage
1 parent 838cb6e commit 2fef6ed

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

spec/java_buildpack/component/java_opts_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@
4141
expect(opts).to include('-Dtest-key=test-value')
4242
end
4343

44+
it 'adds a bootclasspath property to the collection' do
45+
opts.add_bootclasspath_p droplet.sandbox + 'test-bootclasspath'
46+
47+
expect(opts).to include('-Xbootclasspath/p:$PWD/.java-buildpack/java_opts/test-bootclasspath')
48+
end
49+
4450
it 'adds a qualified option to the collection' do
4551
opts.add_option 'test-key', droplet.sandbox
4652

0 commit comments

Comments
 (0)