ViewResult.ViewName property empty in unit test
Posted
by Michel
on Stack Overflow
See other posts from Stack Overflow
or by Michel
Published on 2010-05-26T11:29:11Z
Indexed on
2010/05/26
11:31 UTC
Read the original article
Hit count: 161
asp.net-mvc
Hi,
in my unit test, the ViewResult.ViewName property is always empty when i use the action name for the view:
return View(model);
or
return View();
Is that by design?
© Stack Overflow or respective owner