Merge pull request #827 from jasonkarns/fix-exec-test

Fix leftover .ruby-version file from exec.bats
This commit is contained in:
Mislav Marohnić 2015-11-20 16:00:49 +01:00
commit a22adc77eb

View file

@ -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)"