From bdb441c5634af626af59720593a0028ab2f2fad6 Mon Sep 17 00:00:00 2001 From: Oliver Gierke Date: Tue, 28 Jun 2016 08:36:48 +0200 Subject: [PATCH] #464 - Fixes references to Traverson tests from reference documentation. --- src/main/asciidoc/index.adoc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/asciidoc/index.adoc b/src/main/asciidoc/index.adoc index 3e1763d5..d0383d99 100644 --- a/src/main/asciidoc/index.adoc +++ b/src/main/asciidoc/index.adoc @@ -378,7 +378,7 @@ There are more options to customize template parameters at each level. [source,java,indent=0] ---- -include::{baseDir}/src/test/java/org/springframework/hateoas/client/TraversonTests.java[tag=hop-with-param] +include::{baseDir}/src/test/java/org/springframework/hateoas/client/TraversonTest.java[tag=hop-with-param] ---- The static `rel(...)` function is a convenient way to define a single `Hop`. Using `.withParameter(key, value)` makes it simple to specify URI Template variables. @@ -387,7 +387,7 @@ NOTE: `.withParameter()` returns a new Hop object that is chainable. You can str [source,java,indent=0] ---- -include::{baseDir}/src/test/java/org/springframework/hateoas/client/TraversonTests.java[tag=hop-put] +include::{baseDir}/src/test/java/org/springframework/hateoas/client/TraversonTest.java[tag=hop-put] ---- It's also possible to load an entire `Map` of parameters via `.withParameters(Map)`. @@ -428,4 +428,3 @@ Link link = discoverer.findLinkWithRel("foo", content); assertThat(link.getRel(), is("foo")); assertThat(link.getHref(), is("/foo/bar")); ---- -