summaryrefslogtreecommitdiffstats
path: root/spec/build_spec.rb
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2013-09-14 20:42:27 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2013-09-14 20:42:27 +0200
commit0ac0389039fa782316fd791b4bf174dd02b9725f (patch)
treedd073e59dd41fe35c12cbb608270f8bf74750d74 /spec/build_spec.rb
parent4bf3f6c300255a472d4bca9acbbb67b7f396a527 (diff)
downloadvim-polyglot-0ac0389039fa782316fd791b4bf174dd02b9725f.tar.gz
vim-polyglot-0ac0389039fa782316fd791b4bf174dd02b9725f.zip
Add simple spec for build script
Diffstat (limited to 'spec/build_spec.rb')
-rw-r--r--spec/build_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/build_spec.rb b/spec/build_spec.rb
new file mode 100644
index 00000000..8e0d6ed8
--- /dev/null
+++ b/spec/build_spec.rb
@@ -0,0 +1,8 @@
+$plugin_path = File.expand_path('../..', __FILE__)
+
+describe 'build script' do
+ it 'should run and return success code' do
+ Dir.chdir($plugin_path)
+ system('./build')
+ end
+end