Files
docker-machine/its/cli/url_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
318 B
Go

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