Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
 protected Milestone GenerateMilestone()
 {
     return(DataGenerator.GenerateMilestone(Project));
 }