From c3ce0c6401ebf4fa3ec0aaacc2620fbddc063498 Mon Sep 17 00:00:00 2001 From: Mike Konkov Date: Wed, 9 Mar 2016 00:02:37 +0100 Subject: [PATCH] Readme fix on start-with-states --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 534e636..ec25403 100644 --- a/README.md +++ b/README.md @@ -384,8 +384,8 @@ When running tests it would be great _not_ to send the real text messages, but r The `start-with-states` function takes other states as substitues: ```clojure -(mount/start-with {#'app.neo/db #'app.test/test-db - #'app.neo/publisher #'app.test/test-publisher}) +(mount/start-with-states {#'app.neo/db #'app.test/test-db + #'app.neo/publisher #'app.test/test-publisher}) ``` `start-with-states` takes a map of states with their substitutes. For example `#'app.nyse/db` here is the real deal (remote) DB that is being substituted with `#'app.test/test-db` state, which could be anything, a map, an in memory DB, etc.