Permalink
Browse files

fix better assertion

  • Loading branch information...
1 parent 4d28d4a commit 977079790a50b7a45b05375c783d815226d89b1a @peterneubauer committed Mar 9, 2012
@@ -102,7 +102,7 @@ public void create_Node_with_array_properties() throws Exception
.expectedHeader( "Content-Length" )
.post( functionalTestHelper.nodeUri() )
.response().getEntity();
- assertTrue( response.contains( "[ 1, 2, 3 ]" ) );
+ assertThat( response, containsString( "[ 1, 2, 3 ]" ) );
}
/**

0 comments on commit 9770797

Please sign in to comment.