From 50ee6dc79e2d56da40b9cbd544553222731e726c Mon Sep 17 00:00:00 2001 From: cristi-badila Date: Fri, 16 Jan 2015 09:44:47 +0200 Subject: [PATCH] fixes bad specs --- Refit-Tests/RequestBuilder.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Refit-Tests/RequestBuilder.cs b/Refit-Tests/RequestBuilder.cs index 75b891a6a..b713f4483 100644 --- a/Refit-Tests/RequestBuilder.cs +++ b/Refit-Tests/RequestBuilder.cs @@ -244,7 +244,7 @@ public void UsingThePatchAttributeSetsTheCorrectMethod() var input = typeof(IRestMethodInfoTests); var fixture = new RestMethodInfo(input, input.GetMethods().First(x => x.Name == "PatchSomething")); - Assert.AreEqual("Patch", fixture.HttpMethod.Method); + Assert.AreEqual("PATCH", fixture.HttpMethod.Method); } } @@ -638,7 +638,7 @@ public async Task SupportPATCHMethod() var factory = fixture.BuildRequestFactoryForMethod("PatchSomething"); var output = factory(new object[] { "testData" }); - Assert.AreEqual("Patch", output.Method.Method); + Assert.AreEqual("PATCH", output.Method.Method); } } }