Merge branch 'master' into 2.0.x
This commit is contained in:
@@ -54,6 +54,24 @@
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-jar-plugin</artifactId>
|
||||
<configuration>
|
||||
<skipIfEmpty>true</skipIfEmpty>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-install-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<artifactId>maven-gpg-plugin</artifactId>
|
||||
<configuration>
|
||||
<skip>true</skip>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
</project>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
package org.test
|
||||
|
||||
@EnableStubRunnerServer
|
||||
class Example {
|
||||
}
|
||||
|
||||
@@ -76,4 +76,11 @@ public class SampleIntegrationTests {
|
||||
output.contains("[/routes || /routes.json],methods=[GET]"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void stubRunnerSample() throws Exception {
|
||||
String output = this.cli.run("stubrunner.groovy");
|
||||
assertTrue("Wrong output: " + output,
|
||||
output.contains("[/stubs],produces=[application/json]"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user