Skip to content

Commit bdb441c

Browse files
committed
#464 - Fixes references to Traverson tests from reference documentation.
1 parent 0331b8d commit bdb441c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/asciidoc/index.adoc

+2-3
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ There are more options to customize template parameters at each level.
378378

379379
[source,java,indent=0]
380380
----
381-
include::{baseDir}/src/test/java/org/springframework/hateoas/client/TraversonTests.java[tag=hop-with-param]
381+
include::{baseDir}/src/test/java/org/springframework/hateoas/client/TraversonTest.java[tag=hop-with-param]
382382
----
383383

384384
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
387387

388388
[source,java,indent=0]
389389
----
390-
include::{baseDir}/src/test/java/org/springframework/hateoas/client/TraversonTests.java[tag=hop-put]
390+
include::{baseDir}/src/test/java/org/springframework/hateoas/client/TraversonTest.java[tag=hop-put]
391391
----
392392

393393
It's also possible to load an entire `Map` of parameters via `.withParameters(Map)`.
@@ -428,4 +428,3 @@ Link link = discoverer.findLinkWithRel("foo", content);
428428
assertThat(link.getRel(), is("foo"));
429429
assertThat(link.getHref(), is("/foo/bar"));
430430
----
431-

0 commit comments

Comments
 (0)