From 2532bf1de81773149d9c3eebffecc4bfb25e2a04 Mon Sep 17 00:00:00 2001 From: yafeilee Date: Sat, 5 Mar 2016 16:32:37 +0800 Subject: [PATCH] Travis ci fix 3 --- config/mongoid.yml.example | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/mongoid.yml.example b/config/mongoid.yml.example index a7561e7..716a78b 100644 --- a/config/mongoid.yml.example +++ b/config/mongoid.yml.example @@ -21,7 +21,8 @@ test: hosts: - localhost:27017 options: - read: :primary + read: + mode: :primary # In the test environment we lower the retries and retry interval to # low amounts for fast failures. max_retries: 1