public void Not_Update_Members_In_Other_Columns() { Card.Arrange(c => c.ListName).Returns("asdf"); Target.EditCard(Post); Card.Assert(c => c.UpdateMembers(Board.GetMembersWithUserNames(Post.AuthorTrelloUserName)), Occurs.Never()); }
public void Set_Trello_Card_Members_To_Author_And_Editor() { Target.UpdateCardForEntity(Whitepaper); Card.Assert(c => c.UpdateMembers(Board.GetMembersWithUserNames(Whitepaper.Author.TrelloId, Whitepaper.Editor.TrelloId))); }