public void GetFileContents_UpdateReleaseCandidateToProduction() { var buildTypeFileMaker = new UpdateBuildTypeFile(); string contents = buildTypeFileMaker.GetUpdatedFileContents(GetFileContentsForType("ReleaseCandidate"), "Production"); Assert.AreEqual(GetFileContentsForType("Production"), contents); }
public void GetFileContents_UpdateBogusToBeta_NoReplacement() { var buildTypeFileMaker = new UpdateBuildTypeFile(); string contents = buildTypeFileMaker.GetUpdatedFileContents(GetFileContentsForType("Bogus"), "Beta"); Assert.AreEqual(GetFileContentsForType("Bogus"), contents); }
public void GetFileContents_UpdateAlphaToReleaseCandidate() { var buildTypeFileMaker = new UpdateBuildTypeFile(); string contents = buildTypeFileMaker.GetUpdatedFileContents(GetFileContentsForType("Alpha"), "ReleaseCandidate"); Assert.AreEqual(GetFileContentsForType("ReleaseCandidate"), contents); }