Exemple #1
0
        public void Not_Add_A_Post_Already_In_Trello_Planned_Posts()
        {
            Target.UpdatePlannedInTrello();

            TrelloWritingCalendarService.Assert(s => s.AddCard(PostThatAlreadyExistsInTrello), Occurs.Never());
        }
Exemple #2
0
        public void Add_A_Card_With_The_Blog_Posts_Title()
        {
            Target.UpdatePlannedInTrello();

            TrelloWritingCalendarService.Assert(s => s.AddCard(AprpovedPostFromSpreadsheet), Occurs.Once());
        }