github.com/dahs81/otto@v0.2.1-0.20160126165905-6400716cf085/builtin/scriptpack/ruby/test/gemfile_apt.bats (about) 1 #!/usr/bin/env bats 2 3 # Load the main library 4 . ${SCRIPTPACK_RUBY_ROOT}/main.sh 5 6 @test "gemfile with a native extension" { 7 # Write a test Gemfile 8 local dir=$(mktemp -d) 9 cd $dir 10 cat <<EOF >Gemfile 11 gem "curb" 12 EOF 13 14 # Install deps 15 ruby_gemfile_apt 16 17 # Check for it 18 dpkg-query -l libcurl3 19 }