Hello,

I'm wondering how to change one of the tutorial configuration tests (see 
http://docs.castleproject.org/Windsor.Windsor-tutorial-part-three-a-testing-your-first-installer.ashx)
for Windsor 3.0. Here's the test for 2.5:

[Fact]public void All_controllers_expose_themselves_as_service()
{
        var controllersWithWrongName = GetHandlersFor(typeof(IController), 
containerWithControllers)
                .Where(controller => controller.Service != 
controller.ComponentModel.Implementation)
                .ToArray();
 
        Assert.Empty(controllersWithWrongName);
}

With the Service property now on ComponentModel as Services, what would be 
the correct change?

Regards,

Daniel Lidström

-- 
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/castle-project-users/-/Thq82umwEIwJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en.

Reply via email to