#!/usr/bin/env bats load 'test_helper.bash' setup() { easy_docker_test_begin easy_docker_test_source_gum_modules } teardown() { easy_docker_test_end } @test "should_use_github_fallback rejects non-interactive terminals" { local script_path="" local repo_root="" repo_root="$(easy_docker_test_repo_root)" script_path="${EASY_DOCKER_TEST_TMPDIR}/run-should-use-github-fallback" easy_docker_test_write_executable "${script_path}" \ "source \"${repo_root}/scripts/easy-docker/lib/install/gum/ensure.sh\"" \ 'should_use_github_fallback' run "${script_path}"