public void GivenBoardCreationParameters(string nameParam, string descParam, string defaultListsParam, string defaultLabelsParam, string idOrganizationParam) { var boardParams = new BoardCreationParameters(); if (nameParam != string.Empty) { boardParams.Name = nameParam; } if (descParam != string.Empty) { boardParams.Desc = descParam; } if (defaultListsParam != string.Empty) { boardParams.DefaultLists = defaultListsParam; } if (defaultLabelsParam != string.Empty) { boardParams.DefaultLabels = defaultLabelsParam; } if (idOrganizationParam != string.Empty) { boardParams.IdOrganization = idOrganizationParam; } BoardCreationParameters = boardParams; }
public void DefaultBoardWithPredefinedLists() { var boardParams = new BoardCreationParameters(); boardParams.Name = "Default name"; boardParams.Desc = "Default desc"; var createdBoard = BoardService.CreateBoard(boardParams); DefaultBoardId = createdBoard.Id; }
public void GivenEmptyNameAsABoardName() { BoardCreationParameters = new BoardCreationParameters { Name = "" }; }