Sha256: 17adc7e4619e5609f999dbcef98c71efb2aaa9323cdf2445fddae1c9802146cb

Contents?: true

Size: 418 Bytes

Versions: 7

Compression:

Stored size: 418 Bytes

Contents

setup() {
  source /etc/profile.d/rvm.sh
}

run_nokogiri_openssl_test() {
  local rubie="$1"
  local https_url="https://google.com"
  local requires="require 'nokogiri';"
  local script="$requires puts Nokogiri::HTML(open('$https_url')).css('input')"

  run rvm $rubie do gem install nokogiri --no-ri --no-rdoc
  [ "$status" -eq 0 ]

  run rvm $rubie do ruby -rrubygems -ropen-uri -e "$script"
  [ "$status" -eq 0 ]
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
from-scratch-0.7.0 cookbooks/rvm/test/integration/rubies/bats/_common.bash
from-scratch-0.6.0 cookbooks/rvm/test/integration/rubies/bats/_common.bash
from-scratch-0.5.0 cookbooks/rvm/test/integration/rubies/bats/_common.bash
from-scratch-0.3.0 cookbooks/rvm/test/integration/rubies/bats/_common.bash
from-scratch-0.2.0 cookbooks/rvm/test/integration/rubies/bats/_common.bash
from-scratch-0.1.1 cookbooks/rvm/test/integration/rubies/bats/_common.bash
from-scratch-0.1.0 cookbooks/rvm/test/integration/rubies/bats/_common.bash