Skip to content

Commit

Permalink
Merge pull request #722 from blueyed/fix-test-for-fish-issue-369
Browse files Browse the repository at this point in the history
Fix test for adding shims in fish
  • Loading branch information
mislav committed Apr 20, 2015
2 parents 7ad01b2 + 06c1959 commit 5b9e4f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/init.bats
Expand Up @@ -71,11 +71,11 @@ load test_helper
assert_line 0 'export PATH="'${RBENV_ROOT}'/shims:${PATH}"'
}

@test "doesn't add shims to PATH more than once (fish)" {
@test "can add shims to PATH more than once (fish)" {
export PATH="${RBENV_ROOT}/shims:$PATH"
run rbenv-init - fish
assert_success
refute_line 'setenv PATH "'${RBENV_ROOT}'/shims" $PATH ;'
assert_line 0 "setenv PATH '${RBENV_ROOT}/shims' \$PATH"
}

@test "outputs sh-compatible syntax" {
Expand Down

0 comments on commit 5b9e4f0

Please sign in to comment.