From 97a0bdcef69ca69db74cfeb3129b2df9736b83b1 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 14 Sep 2013 20:46:47 +0200 Subject: fix: Build spec, use bash, check return status --- spec/build_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') 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 -- cgit v1.2.3