Skip to content

Commit

Permalink
Reuse server for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sheerun committed Mar 10, 2019
1 parent 9d9ed14 commit fabb550
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
$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.
Expand Down

0 comments on commit fabb550

Please sign in to comment.