update urls to rbenv

This commit is contained in:
Chulki Lee 2015-12-07 14:17:04 -08:00
parent d65e2d1013
commit 866dacc0b4
2 changed files with 3 additions and 3 deletions

View file

@ -19,7 +19,7 @@
#
# For detailed information on installing Ruby versions with
# ruby-build, including a list of environment variables for adjusting
# compilation, see: https://github.com/sstephenson/ruby-build#usage
# compilation, see: https://github.com/rbenv/ruby-build#usage
#
set -e
[ -n "$RBENV_DEBUG" ] && set -x

View file

@ -14,7 +14,7 @@ static_version="$(grep VERSION "$bats_bin" | head -1 | cut -d'"' -f 2)"
@test "ruby-build git version" {
stub git \
'remote -v : echo origin https://github.com/sstephenson/ruby-build.git' \
'remote -v : echo origin https://github.com/rbenv/ruby-build.git' \
"describe --tags HEAD : echo v1984-12-gSHA"
run ruby-build --version
assert_success "ruby-build 1984-12-gSHA"
@ -23,7 +23,7 @@ static_version="$(grep VERSION "$bats_bin" | head -1 | cut -d'"' -f 2)"
@test "git describe fails" {
stub git \
'remote -v : echo origin https://github.com/sstephenson/ruby-build.git' \
'remote -v : echo origin https://github.com/rbenv/ruby-build.git' \
"describe --tags HEAD : echo ASPLODE >&2; exit 1"
run ruby-build --version
assert_success "ruby-build ${static_version}"