Skip to content

Commit

Permalink
ComposerMockUtils fixes for #49,#58
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaochong committed May 8, 2012
1 parent 68aea68 commit 6c2b0fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/groovy/grails/test/ComposerMockUtils.groovy
Expand Up @@ -66,7 +66,7 @@ class ComposerMockUtils {
}
return s
}.inject(new TypeConvertingMap()) {s, e ->
if (e instanceof Collection) {
if (e.value instanceof Collection) {
s.put(e.key, e.value as String[])
} else {
s.put(e.key, e.value)
Expand Down

0 comments on commit 6c2b0fc

Please sign in to comment.