mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-09-01 23:01:10 +02:00
update urls to rbenv
This commit is contained in:
parent
d65e2d1013
commit
866dacc0b4
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue