public void SetUp() { theRegistration = MockRepository.GenerateMock <IAssetRegistration>(); theRegistry = new FubuRegistry(); theExpression = new AssetsExpression(theRegistry, theRegistration); }
public void SetUp() { theRegistration = MockRepository.GenerateMock<IAssetRegistration>(); theRegistry = new FubuRegistry(); theExpression = new AssetsExpression(theRegistry, theRegistration); }
public void using_the_configure_method() { var graph = new AssetGraph(); var expression = new AssetsExpression(theRegistry, graph); expression.Configure(@" crud includes a.js, b.js, c.js "); graph.CompileDependencies(new PackageLog()); graph.AssetSetFor("crud").AllFileDependencies() .Select(x => x.Name) .ShouldHaveTheSameElementsAs("a.js", "b.js", "c.js"); }
public void using_the_configure_method() { var graph = new AssetGraph(); var expression = new AssetsExpression(theRegistry, graph); expression.Configure(@" crud includes a.js, b.js, c.js "); graph.CompileDependencies(new PackageLog()); graph.AssetSetFor("crud").AllFileDependencies() .Select(x => x.Name) .ShouldHaveTheSameElementsAs("a.js", "b.js", "c.js"); }