Permalink
Browse files

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

…just strings
  • Loading branch information...
bluesliverx authored and jeffbrown committed May 15, 2012
1 parent 62cd51f commit a5f67910e3f917a85db1138856c4df074b067f7c
@@ -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 a5f6791

Please sign in to comment.