Make README and code consistent about title
This commit is contained in:
@@ -528,6 +528,8 @@ We update the "blog" Mustache templates.
|
|||||||
----
|
----
|
||||||
{{> header}}
|
{{> header}}
|
||||||
|
|
||||||
|
<h1>{{title}}</h1>
|
||||||
|
|
||||||
<div class="articles">
|
<div class="articles">
|
||||||
|
|
||||||
{{#articles}}
|
{{#articles}}
|
||||||
@@ -671,7 +673,8 @@ class IntegrationTests(@Autowired val restTemplate: TestRestTemplate) {
|
|||||||
println(">> Assert article page title, content and status code")
|
println(">> Assert article page title, content and status code")
|
||||||
val entity = restTemplate.getForEntity<String>("/article/2")
|
val entity = restTemplate.getForEntity<String>("/article/2")
|
||||||
assertThat(entity.statusCode).isEqualTo(HttpStatus.OK)
|
assertThat(entity.statusCode).isEqualTo(HttpStatus.OK)
|
||||||
assertThat(entity.body).contains("<a href=\"https://projectreactor.io/\">https://projectreactor.io/</a>")
|
assertThat(entity.body).contains("Reactor Aluminium has landed",,
|
||||||
|
"<a href=\"https://projectreactor.io/\">https://projectreactor.io/</a>")
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
{{> header}}
|
{{> header}}
|
||||||
|
|
||||||
|
<h1>{{title}}</h1>
|
||||||
|
|
||||||
<div class="articles">
|
<div class="articles">
|
||||||
|
|
||||||
{{#banner.title}}
|
{{#banner.title}}
|
||||||
|
|||||||
@@ -3,4 +3,3 @@
|
|||||||
<title>{{title}}</title>
|
<title>{{title}}</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>{{title}}</h1>
|
|
||||||
|
|||||||
@@ -35,7 +35,8 @@ class IntegrationTests(@Autowired val restTemplate: TestRestTemplate) {
|
|||||||
println(">> Assert article page title, content and status code")
|
println(">> Assert article page title, content and status code")
|
||||||
val entity = restTemplate.getForEntity<String>("/article/2")
|
val entity = restTemplate.getForEntity<String>("/article/2")
|
||||||
assertThat(entity.statusCode).isEqualTo(HttpStatus.OK)
|
assertThat(entity.statusCode).isEqualTo(HttpStatus.OK)
|
||||||
assertThat(entity.body).contains("<a href=\"https://projectreactor.io/\">https://projectreactor.io/</a>")
|
assertThat(entity.body).contains("Reactor Aluminium has landed",
|
||||||
|
"<a href=\"https://projectreactor.io/\">https://projectreactor.io/</a>")
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user