summaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/spec_helper.rb')
-rwxr-xr-xspec/spec_helper.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 938a9a7f..06abca1a 100755
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -8,6 +8,10 @@ Vimrunner::RSpec.configure do |config|
# instance per test (slower, but can be easier to manage).
config.reuse_server = !ENV['REUSE_SERVER'].nil?
+ if Gem::Platform.local.os == "darwin"
+ config.reuse_server = true
+ end
+
# Decide how to start a Vim instance. In this block, an instance should be
# spawned and set up with anything project-specific.
config.start_vim do