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

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