Reuse server for tests

This commit is contained in:
Adam Stankiewicz 2019-03-10 21:23:30 +01:00
parent 9d9ed14485
commit fabb550c17

View File

@ -4,13 +4,7 @@ require 'vimrunner/rspec'
$plugin_path = File.expand_path('../..', __FILE__)
Vimrunner::RSpec.configure do |config|
# Use a single Vim instance for the test suite. Set to false to use an
# 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
config.reuse_server = true
# Decide how to start a Vim instance. In this block, an instance should be
# spawned and set up with anything project-specific.