Skip to content

Commit

Permalink
Fix rbenv install --list test
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Nov 4, 2019
1 parent 9e41ff4 commit fe5986d
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions test/rbenv.bats
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,10 @@ stub_ruby_build() {
run rbenv-install --list
assert_success
assert_output <<OUT
Available versions:
1.8.7
1.9.3-p0
1.9.3-p194
2.1.2
1.8.7
1.9.3-p0
1.9.3-p194
2.1.2
OUT

unstub ruby-build
Expand Down Expand Up @@ -126,10 +125,9 @@ OUT
run rbenv-install --list
assert_success
assert_output <<OUT
Available versions:
${RBENV_ROOT}/plugins/bar/share/ruby-build
${RBENV_ROOT}/plugins/foo/share/ruby-build
${RBENV_ROOT}/plugins/bar/share/ruby-build
${RBENV_ROOT}/plugins/foo/share/ruby-build
OUT
}

Expand Down

0 comments on commit fe5986d

Please sign in to comment.