geelen (owner)

Revisions

gist: 229251 Download_button fork
public
Public Clone URL: git://gist.github.com/229251.git
Embed All Files: show embed
Text only #
1
2
3
4
5
6
7
8
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>