diff --git a/tests/Kiota.Builder.Tests/Writers/Ruby/CodeMethodWriterTests.cs b/tests/Kiota.Builder.Tests/Writers/Ruby/CodeMethodWriterTests.cs index 2933fa05fe..1f2a128c5c 100644 --- a/tests/Kiota.Builder.Tests/Writers/Ruby/CodeMethodWriterTests.cs +++ b/tests/Kiota.Builder.Tests/Writers/Ruby/CodeMethodWriterTests.cs @@ -1096,7 +1096,7 @@ public void WritesRequestGeneratorContentTypeQuotes() method.HttpMethod = HttpMethod.Post; AddRequestProperties(); AddRequestBodyParameters(); - method.RequestBodyContentType = "application/json; profile=\"CamelCase\""; + method.RequestBodyContentType = "application/json; profile='CamelCase'"; writer.Write(method); var result = tw.ToString(); Assert.Contains("'application/json; profile=\\'CamelCase\\''", result);