gorm - Grails 2.2.1 groupProperty on Integration tests -


for reason groupproperty not working on integration tests. i'm getting following exception:

groovy.lang.missingmethodexception: no signature of method: mypackage.carinttests.groupproperty() applicable argument types: (java.lang.string) values: [car]

def names = ['honda', 'toyota', 'nissan'] 3.times {     garage.build(name: names[it]) } def results = garage.withcriteria {     car {         eq('brand', 'honda')     }     projections {         groupproperty('car')     } } assert results == names[0..0] 


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -