aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorThomas Buckley-Houston2017-05-30 09:40:18 +0000
committerThomas Buckley-Houston2017-06-10 10:54:00 +0000
commit2de00abbbb6730bc4af4f1f134dc557cd991d299 (patch)
tree559886db8aff2a7029358a376e644f3e4819ac2b /spec
parentabccaba225a5839fca23966c274bd86c78453844 (diff)
Fix test runner
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index fa8e548..f49f5a3 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -2,8 +2,8 @@ require 'vimrunner'
require 'vimrunner/rspec'
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).
+ # Set to false to use an instance per test (slower, but can be easier
+ # to manage).
config.reuse_server = false
# Decide how to start a Vim instance. In this block, an instance should be
@@ -11,7 +11,7 @@ Vimrunner::RSpec.configure do |config|
config.start_vim do
vim = Vimrunner.start
- # Setup your plugin in the Vim instance
+ # Load the plugin
plugin_path = File.expand_path('../..', __FILE__)
vim.add_plugin(plugin_path, 'plugin/novim_mode.vim')