Skip to content

Instantly share code, notes, and snippets.

@KlausTrainer
Created September 13, 2015 16:30
Show Gist options
  • Save KlausTrainer/10ad6b263b0fb3df3ed1 to your computer and use it in GitHub Desktop.
Save KlausTrainer/10ad6b263b0fb3df3ed1 to your computer and use it in GitHub Desktop.
diff --git a/test/couch_doc_json_tests.erl b/test/couch_doc_json_tests.erl
index 56587cd..037886f 100644
--- a/test/couch_doc_json_tests.erl
+++ b/test/couch_doc_json_tests.erl
@@ -17,9 +17,10 @@
json_doc_test_() ->
+ TestCtx = test_util:start_couch(),
{
setup,
- fun() -> test_util:start(?MODULE) end, fun test_util:stop/1,
+ fun() -> TestCtx end, fun test_util:stop_couch/1,
[
{
"Document from JSON",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment