Checking for link target

pull/1060/head
Nils Winkler 2017-10-08 12:42:02 +02:00
parent 80e510d65b
commit e2f00b1eb6
1 changed files with 1 additions and 3 deletions

View File

@ -146,9 +146,7 @@ function local_setup {
@test "helpers: enable the node plugin" { @test "helpers: enable the node plugin" {
run _enable-plugin "node" run _enable-plugin "node"
assert_line -n 0 'node enabled with priority 250.' assert_line -n 0 'node enabled with priority 250.'
assert_link_exist "$BASH_IT/enabled/250---node.plugin.bash" assert_link_exist "$BASH_IT/enabled/250---node.plugin.bash" "../plugins/available/node.plugin.bash"
assert_equal "../plugins/available/node.plugin.bash" "`readlink $BASH_IT/enabled/250---node.plugin.bash`"
} }
@test "helpers: enable the node plugin through the bash-it function" { @test "helpers: enable the node plugin through the bash-it function" {