fix gist test and remove some whitespace

This commit is contained in:
Simon Cropp
2013-11-15 08:19:40 +11:00
parent cc779283ea
commit f0ea90bb5f
3 changed files with 1 additions and 7 deletions

View File

@@ -27,6 +27,5 @@ namespace Octokit.Tests.Integration
var retrieved = await this._gistsClient.Get(6305249);
Assert.NotNull(retrieved);
}
}
}

View File

@@ -1,6 +1,4 @@
using System;
using System.Collections.Generic;
using System.Linq;
using NSubstitute;
using Octokit;
using Xunit;
@@ -9,7 +7,6 @@ public class GistsClientTests
{
public class TheGetMethod
{
[Fact]
public void RequestsCorrectUrl()
{
@@ -18,7 +15,7 @@ public class GistsClientTests
client.Get(1);
connection.Received().Get<Gist>(Arg.Is<Uri>(u => u.ToString() == "repos/owner/repo/git/commits/reference"), null);
connection.Received().Get<Gist>(Arg.Is<Uri>(u => u.ToString() == "gists/1"), null);
}
}

View File

@@ -20,7 +20,5 @@ namespace Octokit
{
return ApiConnection.Get<Gist>(ApiUrls.Gist(id));
}
}
}