Fix prefix issue

This commit is contained in:
Dave Syer
2017-04-24 13:28:44 +01:00
parent b80ce1fb3e
commit 5055369cb5
2 changed files with 4 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ public class PrefixTests {
@Test
public void words() throws Exception {
ResponseEntity<String> result = rest
.exchange(RequestEntity.get(new URI("/words")).build(), String.class);
.exchange(RequestEntity.get(new URI("/functions/words")).build(), String.class);
assertThat(result.getStatusCode()).isEqualTo(HttpStatus.OK);
assertThat(result.getBody()).isEqualTo("foobar");
}