public void ReturnsOfficialForMasterBranch() { var context = new Context { BranchName = "master" }; var rule = new PublishTypeRule(); Assert.AreEqual("Official", rule.GetParameter(context).Value); }
public void ReturnsNightlyForDevelopBranch() { var context = new Context { BranchName = "develop" }; var rule = new PublishTypeRule(); Assert.AreEqual("Nightly", rule.GetParameter(context).Value); }