From e4f906d9a543dfb3520eebe6806eac2ff38c4388 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 10 Mar 2019 19:42:33 +0100 Subject: Fix specs --- spec/build_spec.rb | 8 -------- spec/spec_helper.rb | 4 ++++ 2 files changed, 4 insertions(+), 8 deletions(-) delete mode 100644 spec/build_spec.rb (limited to 'spec') diff --git a/spec/build_spec.rb b/spec/build_spec.rb deleted file mode 100644 index 9bdc5c48..00000000 --- a/spec/build_spec.rb +++ /dev/null @@ -1,8 +0,0 @@ -$plugin_path = File.expand_path('../..', __FILE__) - -describe 'build script' do - it 'should run and return success code' do - Dir.chdir($plugin_path) - expect(system('bash ./build')).to be_true - end -end 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 -- cgit v1.2.3