I am getting the proverbial knickers in a twist. For this very simple code:
public ActionResult Add()
{
this.HttpContext.Items["pm-page-title"] = "Some title";
return this.View();
}
How do I go about writing the MSpec test, using fakeiteasy, to verify that a view is returned and more pertinently that the page title is set correctly?
TIA,
David