summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2013-09-14 20:46:47 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2013-09-14 20:46:47 +0200
commit97a0bdcef69ca69db74cfeb3129b2df9736b83b1 (patch)
tree7d17384d07556447e825df9d589242dc0c2cad6f
parent58f119c57fd9b726b5054e7d4dc8d39a03a2ea77 (diff)
downloadvim-polyglot-97a0bdcef69ca69db74cfeb3129b2df9736b83b1.tar.gz
vim-polyglot-97a0bdcef69ca69db74cfeb3129b2df9736b83b1.zip
fix: Build spec, use bash, check return status
-rw-r--r--spec/build_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/build_spec.rb b/spec/build_spec.rb
index 8e0d6ed8..9bdc5c48 100644
--- a/spec/build_spec.rb
+++ b/spec/build_spec.rb
@@ -3,6 +3,6 @@ $plugin_path = File.expand_path('../..', __FILE__)
describe 'build script' do
it 'should run and return success code' do
Dir.chdir($plugin_path)
- system('./build')
+ expect(system('bash ./build')).to be_true
end
end