summaryrefslogtreecommitdiffstats
path: root/spec/loading_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/loading_spec.rb')
-rw-r--r--spec/loading_spec.rb6
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