s/rbenv/pyenv/g

This commit is contained in:
Yamashita, Yuu 2016-08-15 05:22:59 +00:00
parent cf1beda362
commit a02f5dde4f

View file

@ -38,14 +38,14 @@ OUT
@test "prefix for system in /" { @test "prefix for system in /" {
mkdir -p "${BATS_TEST_DIRNAME}/libexec" mkdir -p "${BATS_TEST_DIRNAME}/libexec"
cat >"${BATS_TEST_DIRNAME}/libexec/rbenv-which" <<OUT cat >"${BATS_TEST_DIRNAME}/libexec/pyenv-which" <<OUT
#!/bin/sh #!/bin/sh
echo /bin/ruby echo /bin/python
OUT OUT
chmod +x "${BATS_TEST_DIRNAME}/libexec/rbenv-which" chmod +x "${BATS_TEST_DIRNAME}/libexec/pyenv-which"
RBENV_VERSION="system" run rbenv-prefix PYENV_VERSION="system" run pyenv-prefix
assert_success "/" assert_success "/"
rm -f "${BATS_TEST_DIRNAME}/libexec/rbenv-which" rm -f "${BATS_TEST_DIRNAME}/libexec/pyenv-which"
} }
@test "prefix for invalid system" { @test "prefix for invalid system" {