Permalink
Browse files

GRAILS-9110 Fix url mappings param assertions to check for more than …

…just strings
  • Loading branch information...
1 parent cb4eda1 commit f07fdf1c611a697d76fea7547432b522e15001d8 @bluesliverx bluesliverx committed with jeffbrown May 15, 2012
@@ -234,7 +234,7 @@ class UrlMappingsUnitTestMixin extends ControllerUnitTestMixin {
paramAssertions.resolveStrategy = Closure.DELEGATE_ONLY
paramAssertions.call()
params.each {name, value ->
- assertEquals("Url mapping '$name' parameter assertion for '$url' failed", value.toString(), mapping.params[name])
+ assertEquals("Url mapping '$name' parameter assertion for '$url' failed", value, mapping.params[name])
}
}
return true

0 comments on commit f07fdf1

Please sign in to comment.