|
21 | 21 |
|
22 | 22 | app.deploy do |
23 | 23 | expect(clean_output(app.output)).not_to include('$ ./mvnw') |
24 | | - expect(clean_output(app.output)).to include("remote: -----> Installing Maven #{DEFAULT_MAVEN_VERSION}... done") |
| 24 | + expect(clean_output(app.output)).to include("remote: -----> Installing Maven #{DEFAULT_MAVEN_VERSION}...") |
25 | 25 | expect(clean_output(app.output)).to( |
26 | 26 | include("[BUILDPACK INTEGRATION TEST - MAVEN VERSION] #{DEFAULT_MAVEN_VERSION}") |
27 | 27 | ) |
|
37 | 37 | app.deploy do |
38 | 38 | expect(clean_output(app.output)).to include(<<~OUTPUT) |
39 | 39 | remote: -----> Installing Maven #{UNKNOWN_MAVEN_VERSION}... |
40 | | - remote: ! ERROR: Error, you have defined an unsupported Maven version in the system.properties file. |
41 | | - remote: The default supported version is #{DEFAULT_MAVEN_VERSION} |
42 | | - remote: |
| 40 | + remote: |
| 41 | + remote: ! ERROR: You have defined an unsupported Maven version in the system.properties file. |
| 42 | + remote: ! |
| 43 | + remote: ! The default supported version is #{DEFAULT_MAVEN_VERSION} |
| 44 | + remote: |
43 | 45 | remote: ! Push rejected, failed to compile Java app. |
44 | 46 | OUTPUT |
45 | 47 | end |
|
53 | 55 |
|
54 | 56 | app.deploy do |
55 | 57 | expect(clean_output(app.output)).not_to include('$ ./mvnw') |
56 | | - expect(clean_output(app.output)).to include("remote: -----> Installing Maven #{DEFAULT_MAVEN_VERSION}... done") |
| 58 | + expect(clean_output(app.output)).to include("remote: -----> Installing Maven #{DEFAULT_MAVEN_VERSION}...") |
57 | 59 | expect(clean_output(app.output)).to( |
58 | 60 | include("[BUILDPACK INTEGRATION TEST - MAVEN VERSION] #{DEFAULT_MAVEN_VERSION}") |
59 | 61 | ) |
|
70 | 72 | app.deploy do |
71 | 73 | expect(clean_output(app.output)).to include(<<~OUTPUT) |
72 | 74 | remote: -----> Installing Maven #{UNKNOWN_MAVEN_VERSION}... |
73 | | - remote: ! ERROR: Error, you have defined an unsupported Maven version in the system.properties file. |
74 | | - remote: The default supported version is #{DEFAULT_MAVEN_VERSION} |
| 75 | + remote: ! ERROR: You have defined an unsupported Maven version in the system.properties file. |
| 76 | + remote: ! |
| 77 | + remote: ! The default supported version is #{DEFAULT_MAVEN_VERSION} |
75 | 78 | remote: |
76 | 79 | remote: ! Push rejected, failed to compile Java app. |
77 | 80 | OUTPUT |
|
87 | 90 |
|
88 | 91 | app.deploy do |
89 | 92 | expect(clean_output(app.output)).not_to include('$ ./mvnw') |
90 | | - expect(clean_output(app.output)).to include('remote: -----> Installing Maven 3.9.4... done') |
| 93 | + expect(clean_output(app.output)).to include('remote: -----> Installing Maven 3.9.4...') |
91 | 94 | expect(clean_output(app.output)).to include('[BUILDPACK INTEGRATION TEST - MAVEN VERSION] 3.9.4') |
92 | 95 | end |
93 | 96 | end |
|
0 commit comments