X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/c2943343107ebccca374d2ae6d7c99dd0589faa5..80f44e73fdb2b71d7ef4825b609a682508b2145c:/spec/spec_helper.rb?ds=sidebyside diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 40b5bfe..c6cc517 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -21,7 +21,11 @@ Vimrunner::RSpec.configure do |config| # More friendly killing. # Otherwise profiling information might not be written. def vim.kill - normal(':qall!') + normal(':qall!') + + Timeout.timeout(5) do + sleep 0.1 while server.running? + end end plugin_path = File.expand_path('../..', __FILE__)