diff --git a/bitnami/ruby/.gitmodules b/bitnami/ruby/.gitmodules deleted file mode 100644 index 835835c8322b..000000000000 --- a/bitnami/ruby/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "tests"] - path = tests - url = https://github.com/bitnami/bitnami-docker-tests.git diff --git a/bitnami/ruby/test.sh b/bitnami/ruby/test.sh deleted file mode 100644 index bfa26fb76dbf..000000000000 --- a/bitnami/ruby/test.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/usr/bin/env bats - -# source the helper script -APP_NAME=ruby -VOLUMES=/app -SLEEP_TIME=0 -load tests/docker_helper - -# Cleans up all running/stopped containers -cleanup_environment() { - container_remove default -} - -# Teardown called at the end of each test -teardown() { - cleanup_environment -} - -# cleanup the environment before starting the tests -cleanup_environment - -@test "ruby, gem and bundler installed" { - container_create default -id - - run container_exec default ruby -v - [ "$status" = 0 ] - run container_exec default gem -v - [ "$status" = 0 ] - run container_exec default bundle -v - [ "$status" = 0 ] -} - -@test "can install gem modules with system requirements" { - container_create default -id - run container_exec default gem install nokogiri mysql2 pg --no-document - [ "$status" = 0 ] -} - -@test "port 3000 exposed" { - container_create default -id - - # create sample sinatra application - container_exec default sh -c "cat > /app/server.rb <