diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-10 19:42:33 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-03-10 19:42:33 +0100 |
commit | e4f906d9a543dfb3520eebe6806eac2ff38c4388 (patch) | |
tree | f850c02f742fd36ada1dab9e90c11f0e7616bf1d /spec/spec_helper.rb | |
parent | 8b3a563bd0e4b2fad7c81a27844c2f8312fb60ec (diff) | |
download | vim-polyglot-e4f906d9a543dfb3520eebe6806eac2ff38c4388.tar.gz vim-polyglot-e4f906d9a543dfb3520eebe6806eac2ff38c4388.zip |
Fix specs
Diffstat (limited to 'spec/spec_helper.rb')
-rwxr-xr-x | spec/spec_helper.rb | 4 |
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 |