Files
docker-machine/its/cli/status_test.go
David Gageot 5d95524be6 Write CLI integration tests with Go
Signed-off-by: David Gageot <david@gageot.net>
2016-01-25 16:23:53 +01:00

17 lines
327 B
Go

package cli
import (
"testing"
"github.com/docker/machine/its"
)
func TestStatus(t *testing.T) {
test := its.NewTest(t)
defer test.TearDown()
test.Run("status: show error in case of no args", func() {
test.Machine("status").Should().Fail(`Error: No machine name(s) specified and no "default" machine exists.`)
})
}