mirror of
https://github.com/pyenv/pyenv.git
synced 2025-04-15 18:45:32 +00:00
Merge pull request #827 from jasonkarns/fix-exec-test
Fix leftover .ruby-version file from exec.bats
This commit is contained in:
commit
a22adc77eb
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ create_executable() {
|
|||
}
|
||||
|
||||
@test "fails with invalid version set from file" {
|
||||
mkdir -p "$RBENV_TEST_DIR"
|
||||
cd "$RBENV_TEST_DIR"
|
||||
echo 1.9 > .ruby-version
|
||||
run rbenv-exec rspec
|
||||
assert_failure "rbenv: version \`1.9' is not installed (set by $PWD/.ruby-version)"
|
||||
|
|
Loading…
Add table
Reference in a new issue