public void ProcessLine_RemovesTempDirFromWebConfig() { var inputLine = " <compilation debug=\"true\" targetFramework=\"4.5\" optimizeCompilations=\"true\" tempDirectory=\"D:\\temp\\a4vy1sad.evu\\temp\\\" />"; var outputLine = ZipGenerator.ProcessLine(inputLine, "NewProj1"); outputLine.Should().Be(" <compilation debug=\"true\" targetFramework=\"4.5\" optimizeCompilations=\"true\" />"); }
public void ProcessLine_Unaffected() { var inputLine = "DoesNotNeedChanging"; var outputLine = ZipGenerator.ProcessLine(inputLine, "NewProj1"); outputLine.Should().Be("DoesNotNeedChanging"); }