abra/test.bats
2020-10-26 11:25:39 +01:00

17 lines
362 B
Bash

#!/usr/bin/env bats
@test "docker is available" {
command -v docker
}
@test "abra is executable" {
./abra --help
}
# TODO(decentral1se): re-enable when abra works again
# @test "abra server add/rm works" {
# ./abra server add swarm.example.com user 222
# docker context ls | grep swarm.example.com
# ./abra server rm swarm.example.com
# }