public void should_load_assembly_for_project() { BottlesFilter.Include("fubudocs"); var assembly = Assembly.Load(AssemblyName.GetAssemblyName("FubuDocs.Docs.dll")); BottlesFilter.ShouldLoad(assembly).ShouldBeTrue(); BottlesFilter.ShouldLoad(GetType().Assembly).ShouldBeFalse(); }
public void should_load_directory_for_project() { BottlesFilter.Include("fubuvalidation"); BottlesFilter.ShouldLoad("FubuValidation.Docs").ShouldBeTrue(); BottlesFilter.ShouldLoad("SomethingElse.Docs").ShouldBeFalse(); }