Expect anything for body since the test is about proving the earl is correct

This commit is contained in:
Ben Biddington
2013-12-19 15:13:14 +13:00
parent 9f2bb17b2b
commit 5bcdf2dc27
@@ -98,7 +98,7 @@ public class IssueCommentsClientTests
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]
@@ -126,8 +126,7 @@ public class IssueCommentsClientTests
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]