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

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

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