github.com/rakutentech/cli@v6.12.5-0.20151006231303-24468b65536e+incompatible/cf/commands/domain/domain_suite_test.go (about)

     1  package domain_test
     2  
     3  import (
     4  	"github.com/cloudfoundry/cli/cf/i18n"
     5  	"github.com/cloudfoundry/cli/cf/i18n/detection"
     6  	"github.com/cloudfoundry/cli/testhelpers/configuration"
     7  
     8  	. "github.com/onsi/ginkgo"
     9  	. "github.com/onsi/gomega"
    10  
    11  	"testing"
    12  )
    13  
    14  func TestDomain(t *testing.T) {
    15  	config := configuration.NewRepositoryWithDefaults()
    16  	i18n.T = i18n.Init(config, &detection.JibberJabberDetector{})
    17  
    18  	RegisterFailHandler(Fail)
    19  	RunSpecs(t, "Domain Suite")
    20  }