public void Remove_Whitespace_When_Checking_For_Trello_Author_Match()
        {
            Refresh.Author.TrelloId = "erik ";

            Target.UpdateCardForEntity(Refresh);

            Board.Assert(b => b.GetMembersWithUserNames("erik"));
        }
        public void Remove_Whitespace_When_Checking_For_Trello_Author_Match()
        {
            Post.Author.TrelloId = "erik ";

            Target.EditCard(Post);

            Board.Assert(b => b.GetMembersWithUserNames("erik", "trello.editorusername"));
        }
        public void Add_A_Card_With_A_Name_Set_To_BlogPost_Title()
        {
            Target.CreateCardForEntity(Refresh);

            Board.Assert(b => b.AddPlannedPostCard(Post.Title, Arg.AnyString, Arg.IsAny <DateTime?>(), Arg.AnyString, Arg.AnyString));
        }
        public void Set_Trello_Card_Title_To_Whitepaper_Title()
        {
            Target.CreateCardForEntity(Whitepaper);

            Board.Assert(b => b.AddPlannedPostCard(Whitepaper.Title, Arg.AnyString, Arg.IsAny <DateTime?>(), Arg.AnyString, Arg.IsAny <string[]>()));
        }
예제 #5
0
        public void Add_A_Card_With_Name_Set_To_Post_AuthorTitle()
        {
            Target.AddCard(Post);

            Board.Assert(b => b.AddPlannedPostCard(Post.Title, Arg.AnyString, Arg.IsAny <DateTime?>(), Arg.AnyString, Arg.AnyString));
        }