Reuse server for tests
This commit is contained in:
parent
9d9ed14485
commit
fabb550c17
@ -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
|
||||
|
||||
# Decide how to start a Vim instance. In this block, an instance should be
|
||||
# spawned and set up with anything project-specific.
|
||||
|
Loading…
Reference in New Issue
Block a user