mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-15 06:53:50 -05:00
Fix specs
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user