public void ShouldBeAbleToGetProjectFromTeamCity() { var teamCityElement = XElement.Parse(TEAM_CITY_DATA); var status = new BuildStatus(teamCityElement); status.Project.Should().Be("BuildLight"); }
public void ShouldBeAbleToGetBuildStatusFromTeamCity() { var teamCityElement = XElement.Parse(TEAM_CITY_DATA); var status = new BuildStatus(teamCityElement); status.LastBuildStatus.Should().Be("Success"); }
public void ShouldBeAbleToGetConfigurationFromTeamCity() { var teamCityElement = XElement.Parse(TEAM_CITY_DATA); var status = new BuildStatus(teamCityElement); status.Configuration.Should().Be("Debug"); }
public void ShouldBeAbleToGetActivityFromTeamCity() { var teamCityElement = XElement.Parse(TEAM_CITY_DATA); var status = new BuildStatus(teamCityElement); status.Activity.Should().Be("Has pending changes"); }