Skip to content
Browse files

fix better assertion

  • Loading branch information...
1 parent 4d28d4a commit 977079790a50b7a45b05375c783d815226d89b1a @peterneubauer committed Mar 9, 2012
View
2 server/src/functionaltest/java/org/neo4j/server/rest/ManageNodeFunctionalTest.java
@@ -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.
Something went wrong with that request. Please try again.