$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