diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2013-09-14 20:20:59 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2013-09-14 20:20:59 +0200 |
commit | 27f22774b112c613d88edae351ac1fe15ee59441 (patch) | |
tree | 2769bb8b74d47e09d95bcdce78a04ba03487013d /spec/loading_spec.rb | |
parent | f6be1d3d1304e0e17b28dd7d2e6bf40602f0bde1 (diff) | |
download | vim-polyglot-27f22774b112c613d88edae351ac1fe15ee59441.tar.gz vim-polyglot-27f22774b112c613d88edae351ac1fe15ee59441.zip |
Move specs location one level down
Diffstat (limited to 'spec/loading_spec.rb')
-rw-r--r-- | spec/loading_spec.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/loading_spec.rb b/spec/loading_spec.rb new file mode 100644 index 00000000..459f0720 --- /dev/null +++ b/spec/loading_spec.rb @@ -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 |