Skip to content

Commit

Permalink
Merge branch '2.2.x'
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Brown committed Jan 4, 2013
2 parents 877a062 + f215c59 commit 1d4e541
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -24,7 +24,7 @@ ext {
commonsCollectionsVersion = "3.2.1"
commonsIOVersion = "2.1"
commonsLangVersion = "2.6"
datastoreVersion = "1.1.2.RELEASE"
datastoreVersion = "1.1.4.BUILD-SNAPSHOT"
gantVersion = "1.9.6"
gdocEngineVersion = "1.0.1"
groovyVersion = "2.0.5"
Expand Down
Expand Up @@ -11,6 +11,14 @@ class FindByMethodTests extends AbstractGrailsHibernateTests {
protected getDomainClasses() {
[FindByMethodBook, FindByMethodUser, FindByBooleanPropertyBook, Highway, Person, Pet, Face, Nose]
}

void testNullAsSoleParameter() {
def bookClass = ga.getDomainClass(FindByMethodBook.name).clazz
assertNotNull bookClass.findAllByReleaseDate(null)

// per GRAILS-3463, this second call was throwing MissingMethodException
assertNotNull bookClass.findAllByReleaseDate(null)
}

void testNullParameters() {
def bookClass = ga.getDomainClass(FindByMethodBook.name).clazz
Expand Down

0 comments on commit 1d4e541

Please sign in to comment.