Testing MonoRail Filters
I was trying to test an Authentication Filter today that needed to redirect the user to a login page.
The problem was that it used context.Controller.Url, context was a MockRailsEngineContext and the Url property throws a NotImplementedException. Ayende quickly jumped on the ball and resolved the problem! Dang that was fast.
If you need to do the same just grab the trunk and it now that property will return a value rather than an exception.