github.com/jenspinney/cli@v6.42.1-0.20190207184520-7450c600020e+incompatible/integration/helpers/feature_flags.go (about) 1 package helpers 2 3 import ( 4 . "github.com/onsi/gomega" 5 . "github.com/onsi/gomega/gexec" 6 ) 7 8 func EnableFeatureFlag(flagName string) { 9 Eventually(CF("enable-feature-flag", flagName)).Should(Exit(0)) 10 } 11 12 func DisableFeatureFlag(flagName string) { 13 Eventually(CF("disable-feature-flag", flagName)).Should(Exit(0)) 14 }