how do I test grail's controller's render method?

Posted by egervari on Stack Overflow See other posts from Stack Overflow or by egervari
Published on 2010-05-26T20:47:31Z Indexed on 2010/05/26 20:51 UTC
Read the original article Hit count: 411

Filed under:
|
|
|

How do I test this:

render view: "create", model: [user: user]

I know how to test redirectArgs and stuff, but I can't find an example to test something like this. It seems like articles and stuff go out of their way to not test this....

© Stack Overflow or respective owner

Related posts about testing

Related posts about grails