Skip to content

Commit 7afc30b

Browse files
committed
Cleans up unneeded test and fixtures
1 parent 56f2047 commit 7afc30b

File tree

3 files changed

+2
-32
lines changed

3 files changed

+2
-32
lines changed

spec/fixtures/container_tomcat8_geode_store_context_after.xml

Lines changed: 0 additions & 20 deletions
This file was deleted.
-30 KB
Binary file not shown.

spec/java_buildpack/container/tomcat/tomcat_geode_store_spec.rb

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@
6262

6363
it 'copies resources',
6464
app_fixture: 'container_tomcat_geode_store',
65-
cache_fixture: 'stub-geode-store-tomcat8.tar' do
65+
cache_fixture: 'stub-geode-store.tar' do
6666

6767
component.compile
6868

6969
expect(sandbox + 'lib/stub-jar-1.jar').to exist
7070
expect(sandbox + 'lib/stub-jar-2.jar').to exist
71-
expect(sandbox + 'lib/geode-modules-tomcat8-1.13.0.jar').to exist
71+
expect(sandbox + 'lib/geode-modules-tomcat9.jar').to exist
7272
end
7373

7474
it 'mutates context.xml',
@@ -94,16 +94,6 @@
9494
).to_stdout
9595
end
9696

97-
it 'correctly detects Geode Tomcat module version if different from default',
98-
app_fixture: 'container_tomcat_geode_store',
99-
cache_fixture: 'stub-geode-store-tomcat8.tar' do
100-
101-
component.compile
102-
103-
expect((sandbox + 'conf/context.xml').read)
104-
.to eq(Pathname.new('spec/fixtures/container_tomcat8_geode_store_context_after.xml').read)
105-
end
106-
10797
it 'does not add Geode Tomcat module version to Session Manager classname if version is empty',
10898
app_fixture: 'container_tomcat_geode_store',
10999
cache_fixture: 'stub-geode-store-no-tomcat-version.tar' do

0 commit comments

Comments
 (0)