Remove redundant test

Spaces in hook path is tested in test/hooks.bats
This commit is contained in:
Jason Karns 2015-12-29 11:12:22 -05:00
parent a95ccd09a2
commit 2cc2ec160e

View file

@ -43,17 +43,6 @@ ruby
OUT 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" { @test "carries original IFS within hooks" {
hook_path="${RBENV_TEST_DIR}/rbenv.d" hook_path="${RBENV_TEST_DIR}/rbenv.d"
mkdir -p "${hook_path}/exec" mkdir -p "${hook_path}/exec"