Update Javadoc for MockMvc

Deleted reference to the obsolete configureWarRootDir() method from the
stand-alone spring-test-mvc project.
This commit is contained in:
Sam Brannen 2013-01-11 00:31:37 +01:00
parent 91da138314
commit 18bf860c27
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2012 the original author or authors. * Copyright 2002-2013 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -38,7 +38,7 @@ import org.springframework.util.Assert;
* *
* WebApplicationContext wac = ...; * WebApplicationContext wac = ...;
* *
* MockMvc mockMvc = webAppContextSetup(wac).configureWarRootDir("src/main/webapp", false).build() * MockMvc mockMvc = webAppContextSetup(wac).build();
* *
* mockMvc.perform(get("/form")) * mockMvc.perform(get("/form"))
* .andExpect(status().isOk()) * .andExpect(status().isOk())