public void deep_directory_does_not_already_exist() { var dir = new ProjectDirectory("content/scripts"); dir.Alter(csProjFile, null); TemplateLibrary.FileSystem.DirectoryExists("temp-solution", "MyProj", "content", "scripts") .ShouldBeTrue(); }
public void no_problem_if_the_directory_already_exists() { var dir = new ProjectDirectory("content"); TemplateLibrary.FileSystem.CreateDirectory("temp-solution", "MyProj", "content"); dir.Alter(csProjFile, null); TemplateLibrary.FileSystem.DirectoryExists("temp-solution", "MyProj", "content") .ShouldBeTrue(); }