NancyFx/Nancy — pull request #1240 by marcusoftnet (2013-09-26 20:22:21+00:00)
Title: TestingViewFactory to access ViewModel etc 

I read this great blog post (http://melinder.se/blog/2012/02/nancytesting-intercept-the-model-sent-to-a-view/) and thought that I could take a stab on implementing this ... or well fill it in rather.

I also noticed a really old issue https://github.com/NancyFx/Nancy/issues/495 that talks about this.

I've created tests for the stuff that I've implemented but was stumped by ModulePath (available from ViewLocationContext). I couldn't create a fixture where that was easy to set. I'm not sure that it's needed either but since it was there... Any help to get that to work would be very appreciated.

Love the sharing of Resharper settings. Now at least I got my usings inside the namespace :neckbeard: