fix: Build spec, use bash, check return status

This commit is contained in:
Adam Stankiewicz 2013-09-14 20:46:47 +02:00
parent 58f119c57f
commit 97a0bdcef6

View File

@ -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