mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-17 15:53:45 -05:00
Add rbenv's own rbenv.d directory to hook paths
This allows rbenv source code to ship with built-in hooks.
This commit is contained in:
@@ -68,3 +68,8 @@ load test_helper
|
||||
assert_line 1 "/other/hooks"
|
||||
assert_line 2 "${RBENV_ROOT}/rbenv.d"
|
||||
}
|
||||
|
||||
@test "RBENV_HOOK_PATH includes rbenv built-in plugins" {
|
||||
run rbenv echo "RBENV_HOOK_PATH"
|
||||
assert_success ":${RBENV_ROOT}/rbenv.d:${BATS_TEST_DIRNAME%/*}/rbenv.d:/usr/local/etc/rbenv.d:/etc/rbenv.d:/usr/lib/rbenv/hooks"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user