From 603e75c5c1c678a94314d4bb3b02aaeb78ee2c3f Mon Sep 17 00:00:00 2001 From: Burin Choomnuan Date: Sun, 5 Jul 2020 15:34:24 -0400 Subject: [PATCH] Fix the method name --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a71f0b7..6efebe1 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,12 @@ The library provides a set of functions to interact with the testcontainers. A s ```clojure (require '[clj-test-containers.core :as tc]) -(def container (-> (tc/create {:image-name "postgres:12.1" - :exposed-ports [5432] +(def container (-> (tc/create {:image-name "postgres:12.1" + :exposed-ports [5432] :env-vars {"POSTGRES_PASSWORD" "verysecret"}}) - (tc/bind-filesystem {:host-path "/tmp" - :container-path "/opt" - :mode :read-only}) + (tc/bind-filesystem! {:host-path "/tmp" + :container-path "/opt" + :mode :read-only}) (tc/start!)) (do-database-testing (:host container)