Skip to content

Commit

Permalink
Merge pull request #268 from ben-biddington/failing_tests
Browse files Browse the repository at this point in the history
Expect anything for body since the test is about proving earl correctness (resolves #266)
  • Loading branch information
haacked committed Dec 19, 2013
2 parents 9f2bb17 + 5bcdf2d commit 1d37e01
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Octokit.Tests/Clients/IssueCommentsClientTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public void PostsToCorrectUrl()

client.Create("fake", "repo", 1, newComment);

connection.Received().Post<IssueComment>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/issues/1/comments"), newComment);
connection.Received().Post<IssueComment>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/issues/1/comments"), Arg.Any<object>());
}

[Fact]
Expand Down Expand Up @@ -126,8 +126,7 @@ public void PostsToCorrectUrl()

client.Update("fake", "repo", 42, issueCommentUpdate);

connection.Received().Patch<IssueComment>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/issues/comments/42"),
issueCommentUpdate);
connection.Received().Patch<IssueComment>(Arg.Is<Uri>(u => u.ToString() == "repos/fake/repo/issues/comments/42"), Arg.Any<object>());
}

[Fact]
Expand Down

0 comments on commit 1d37e01

Please sign in to comment.