/// <summary>
        /// Gets all commits for a given repository
        /// </summary>
        /// <param name="owner">The owner of the repository</param>
        /// <param name="name">The name of the repository</param>
        /// <param name="reference">The reference for the commit</param>
        public IObservable <GitHubCommit> Get(string owner, string name, string reference)
        {
            Ensure.ArgumentNotNullOrEmptyString(owner, "owner");
            Ensure.ArgumentNotNullOrEmptyString(name, "name");
            Ensure.ArgumentNotNullOrEmptyString(reference, "reference");

            return(_commit.Get(owner, name, reference).ToObservable());
        }
        public async Task CanGetCommit()
        {
            var commit = await _fixture.Get("octokit", "octokit.net", "65a22f4d2cff94a286ac3e96440c810c5509196f");

            Assert.NotNull(commit);
        }
Example #3
0
            public async Task CanGetCommit()
            {
                var commit = await _fixture.Get(SniperNetRepositoryOwner, SniperNetRepositorName, "65a22f4d2cff94a286ac3e96440c810c5509196f");

                Assert.NotNull(commit);
            }