grails.gorm.tests.QueryByNullSpec.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grails-datastore-gorm-tck Show documentation
Show all versions of grails-datastore-gorm-tck Show documentation
GORM - Grails Data Access Framework
package grails.gorm.tests
class QueryByNullSpec extends GormDatastoreSpec {
void 'Test passing null as the sole argument to a dynamic finder multiple times'() {
// see GRAILS-3463
when:
def people = Person.findAllByLastName(null)
then:
!people
when:
people - Person.findAllByLastName(null)
then:
!people
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy