From 068656a246fcb56ab1385e7370b2740f5ebef5db Mon Sep 17 00:00:00 2001 From: Vital Date: Thu, 11 Feb 2021 13:00:25 +0200 Subject: [PATCH] Fixed readme --- README.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index 0ea6650..2fc7e13 100644 --- a/README.markdown +++ b/README.markdown @@ -300,10 +300,10 @@ DatabaseCleaner[:active_record].strategy = :transaction DatabaseCleaner[:mongo_mapper].strategy = :truncation # How to specify particular databases -DatabaseCleaner[:active_record, { db: :two }] +DatabaseCleaner[:active_record, db: :two] # You may also pass in the model directly: -DatabaseCleaner[:active_record, { db: ModelWithDifferentConnection }] +DatabaseCleaner[:active_record, db: ModelWithDifferentConnection] ``` Usage beyond that remains the same with `DatabaseCleaner.start` calling any setup on the different configured databases, and `DatabaseCleaner.clean` executing afterwards.