public void ReassignMilestone()
        {
            var milestone = DataGenerator.GenerateMilestone(Project);

            milestone.Responsible = From;
            milestone             = MilestoneEngine.SaveOrUpdate(milestone);

            ProjectsReassign.Reassign(From, To);

            milestone = MilestoneEngine.GetByID(milestone.ID);
            Assert.That(milestone.Responsible, Is.EqualTo(To));
        }
Esempio n. 2
0
 protected Milestone GenerateMilestone()
 {
     return(DataGenerator.GenerateMilestone(Project));
 }