From 2cc2ec160ede7bbace8d51ee298c68fb2b5ff6ba Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Tue, 29 Dec 2015 11:12:22 -0500 Subject: [PATCH] Remove redundant test Spaces in hook path is tested in test/hooks.bats --- test/exec.bats | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/test/exec.bats b/test/exec.bats index aeb0456c..42948c5c 100644 --- a/test/exec.bats +++ b/test/exec.bats @@ -43,17 +43,6 @@ ruby OUT } -@test "supports hook path with spaces" { - hook_path="${RBENV_TEST_DIR}/custom stuff/rbenv hooks" - mkdir -p "${hook_path}/exec" - echo "export HELLO='from hook'" > "${hook_path}/exec/hello.bash" - - export RBENV_VERSION=system - RBENV_HOOK_PATH="$hook_path" run rbenv-exec env - assert_success - assert_line "HELLO=from hook" -} - @test "carries original IFS within hooks" { hook_path="${RBENV_TEST_DIR}/rbenv.d" mkdir -p "${hook_path}/exec"