Commit 849fcbec authored by Dave Yarwood's avatar Dave Yarwood

add fish-spec

parent 5bebbc64
import plugins/fish-spec
import plugins/balias
function describe_library -d "better-alias"
function after_all
functions -e changedir
end
function it_doesnt_fail
balias changedir cd
expect test $status --to-be-true
end
function it_defines_an_alias
functions changedir
expect test $status --to-be-true
end
function you_can_use_the_alias
mkdir testdir
changedir testdir
expect test $status --to-be-true
cd ..
rmdir testdir
end
end
spec.run $argv
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment