public void Not_Change_The_Name_Of_A_NonMatching_Card() { Target.EditCard(new BlogPost()); Card.Assert(c => c.Name, Occurs.Never()); }
public void Set_Trello_Card_Labels_To_CompanyName() { Target.UpdateCardForEntity(Whitepaper); Card.Assert(c => c.UpdateLabels(Board.GetLabelsForCompany(Whitepaper.Blog.CompanyName))); }
public void Not_Change_The_Name_Of_A_Non_Matching_Card() { Target.UpdateCardForEntity(new PostRefresh()); Card.Assert(c => c.Name, Occurs.Never()); }
public void Invokes_Delete_On_A_Card_With_Matching_Id() { Target.DeleteCard(CardId); Card.Assert(c => c.Delete(), Occurs.Once()); }