yeoman/generator — pull request #575 by evocateur (2014-06-11 21:54:50+00:00)
Title: Fix treatment of mockPrompt() default functions

When assigning prompt defaults as functions, the `mockPrompt` helper was setting the mocked answer as `"function () { [native code] }"`. This is somewhat less than useful. It also accounts for the `answers` parameter sent to prompt default functions.

Additionally, I fixed some typos that were potentially obfuscating the accuracy of some tests. "Answer" is a weird word.