Add bootVersion to home page

This commit is contained in:
Dave Syer
2014-06-24 09:42:54 +01:00
parent 92f3e343b6
commit 76e7f3f15c
5 changed files with 25 additions and 1 deletions

View File

@@ -53,6 +53,12 @@ class IntegrationTests {
assertTrue('Wrong body:\n' + body, body.contains('name="style" value="web"'))
}
@Test
void homeHasBootVersion() {
String body = home()
assertTrue('Wrong body:\n' + body, body.contains('name="bootVersion" value="1'))
}
@Test
void downloadStarter() {
byte[] body = new TestRestTemplate().getForObject('http://localhost:' + port + 'starter.zip', byte[])