From 05e678acb3ebaec64ac2cdc85f2f4adb2c1e90b6 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Wed, 21 Aug 2013 18:01:13 +0100 Subject: [PATCH] Clean out grapes --- .../org/springframework/boot/cli/SampleIntegrationTests.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java b/spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java index 13cba880ada..17dd6fad976 100644 --- a/spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java +++ b/spring-boot-cli/src/test/java/org/springframework/boot/cli/SampleIntegrationTests.java @@ -29,6 +29,7 @@ import org.junit.BeforeClass; import org.junit.Rule; import org.junit.Test; import org.springframework.boot.OutputCapture; +import org.springframework.boot.cli.command.CleanCommand; import org.springframework.boot.cli.command.RunCommand; import static org.junit.Assert.assertEquals; @@ -66,8 +67,9 @@ public class SampleIntegrationTests { } @Before - public void setup() { + public void setup() throws Exception { System.setProperty("disableSpringSnapshotRepos", "true"); + new CleanCommand().run("org.springframework"); } @After