Move specs location one level down

This commit is contained in:
Adam Stankiewicz
2013-09-14 20:20:59 +02:00
parent f6be1d3d13
commit 27f22774b1
4 changed files with 1 additions and 1 deletions

14
spec/loading_spec.rb Normal file
View File

@@ -0,0 +1,14 @@
require 'spec_helper'
describe "My Vim plugin" do
languages = Dir["#{PLUGIN_PATH}/syntax/*.vim"].map { |f| f.split('/').last.gsub('.vim', '') }
languages.each do |lang|
it "should parse .#{lang} file" do
write_file "test.#{lang}", ""
vim.edit "test.#{lang}"
vim.insert "sample"
vim.write
end
end
end