Skip to content

Instantly share code, notes, and snippets.

@geelen
Created November 8, 2009 13:01
Show Gist options
  • Save geelen/229251 to your computer and use it in GitHub Desktop.
Save geelen/229251 to your computer and use it in GitHub Desktop.
If you follow the tutorial, when you get to http://www.playframework.org/documentation/1.0/guide6
In the section 'A little more difficult now', if you add the following line to the suggested test case, you get a failure:
assertEquals(Arrays.asList(bobPost), Post.findTaggedWith("Red", "Blue"));
assertEquals(Arrays.asList(anotherBobPost), Post.findTaggedWith("Red", "Green"));
It appears the code within Post.findTaggedWith is actually returning a List<Int>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment