From e8d173615def953c858fa488e70624d3b303cf77 Mon Sep 17 00:00:00 2001 From: rmpestano Date: Sun, 23 Oct 2016 12:08:36 -0200 Subject: [PATCH] perf --- .../github/cukedoctor/converter/CukedoctorConverterTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cukedoctor-converter/src/test/java/com/github/cukedoctor/converter/CukedoctorConverterTest.java b/cukedoctor-converter/src/test/java/com/github/cukedoctor/converter/CukedoctorConverterTest.java index 619bcc31..406e8d6d 100644 --- a/cukedoctor-converter/src/test/java/com/github/cukedoctor/converter/CukedoctorConverterTest.java +++ b/cukedoctor-converter/src/test/java/com/github/cukedoctor/converter/CukedoctorConverterTest.java @@ -147,7 +147,7 @@ public void shouldRenderAttributesUsingGlobalConfig() { ":source-highlighter: highlightjs" + newLine() +":toclevels: 3" + newLine() +":hardbreaks:" + newLine(); - String document = Cukedoctor.instance(features, GlobalConfig.getInstance().getDocumentAttributes()).renderAttributes(). + String document = Cukedoctor.instance(features, GlobalConfig.newInstance().getDocumentAttributes()).renderAttributes(). getDocumentation().toString(); assertEquals(expected, document); }