Ejemplo n.º 1
0
        public void EnumerateIssues_ExistingPublicRepositoryWithIssue_ReturnValidInfo()
        {
            var issues = ExistingRepository.EnumerateIssues().ToList();

            issues.ShouldNotBeNull();
            issues.Count.ShouldBe(2, "Only two issues are known on BotTestRepository");
        }
Ejemplo n.º 2
0
        public void EnumerateIssues_ExistingPublicRepositoryWithIssue_OnlyOpen_ReturnValidInfo()
        {
            var parameters = new EnumerateParameters {
                Filter = "state=\"open\""
            };
            var issues = ExistingRepository.EnumerateIssues(parameters).ToList();

            issues.ShouldNotBeNull();
            issues.Count.ShouldBe(1, "Only one open issue is known on BotTestRepository");
        }