Closes gh-5532
This commit is contained in:
Johnny Lim
2016-03-30 14:22:36 +09:00
committed by Stephane Nicoll
parent 8a11620052
commit a28dd9d9e6
34 changed files with 89 additions and 89 deletions

View File

@@ -66,7 +66,7 @@ public class UserVehicleControllerApplicationTests {
}
@Test
public void welcomeCommandLineRunnerShouldBeAvailble() throws Exception {
public void welcomeCommandLineRunnerShouldBeAvailable() throws Exception {
// Since we're a @SpringApplicationTest all beans should be available
assertThat(this.applicationContext.getBean(WelcomeCommandLineRunner.class))
.isNotNull();

View File

@@ -101,7 +101,7 @@ public class UserVehicleControllerTests {
}
@Test(expected = NoSuchBeanDefinitionException.class)
public void welcomeCommandLineRunnerShouldBeAvailble() throws Exception {
public void welcomeCommandLineRunnerShouldBeAvailable() throws Exception {
// Since we're a @WebMvcTest WelcomeCommandLineRunner should not be available
assertThat(this.applicationContext.getBean(WelcomeCommandLineRunner.class));
}