> @@ -94,9 +88,8 @@ public void testRunNodesWithBootstrap() throws IOException {
> URI uri = URI.create("http://" +
> getLast(node.getPublicAddresses()));
> InputStream content = computeContext.utils().http().get(uri);
> String string = Strings2.toStringAndClose(content);
> - assert string.indexOf("It works!") >= 0 : string;
> + assertTrue(string.indexOf("It works!") >= 0, string);
```
assertTrue(string.contains("It works!"), "Expected '%s' to contain 'It works!",
string);
```
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-chef/pull/17/files#r6262835