diff options
author | German Lashevich <design.ber@gmail.com> | 2019-05-01 23:52:55 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2019-05-01 23:52:54 +0200 |
commit | e8245dbf1746aa59774124de1c77ffc4d8b5b52f (patch) | |
tree | 8a2f0901c11eef25bd558b1258fca746d66acfc6 /spec/loading_spec.rb | |
parent | 9fd5c11a20f88525088c8635a3bc6a25ec4c05c7 (diff) | |
download | vim-polyglot-e8245dbf1746aa59774124de1c77ffc4d8b5b52f.tar.gz vim-polyglot-e8245dbf1746aa59774124de1c77ffc4d8b5b52f.zip |
FIx CI build freezing (#398)
* Kill vim server
* Fix incorrect usage of rspec
* Add build stage to CI
* Try using new server for each run
* Sort and uniq test files
Diffstat (limited to 'spec/loading_spec.rb')
-rw-r--r-- | spec/loading_spec.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/spec/loading_spec.rb b/spec/loading_spec.rb index 4d78f531..e9e1f3b8 100644 --- a/spec/loading_spec.rb +++ b/spec/loading_spec.rb @@ -9,7 +9,7 @@ describe "My Vim plugin" do extensions = extensions.split(/[\n,]/) - extensions.each do |ext| + extensions.sort!.uniq!.each do |ext| if ext.match?(/^[a-z\.]+$/i) it "should parse #{ext} file" do Timeout::timeout(20) do @@ -21,4 +21,8 @@ describe "My Vim plugin" do end end end + + after(:all) do + vim.kill + end end |