Commit 1f7fb91c authored by SHIBATA Hiroshi's avatar SHIBATA Hiroshi
Browse files

Merge pull request #843 from chulkilee/fix-urls

update urls to rbenv
parents d65e2d10 866dacc0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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}"