github.com/willmadison/cli@v6.40.1-0.20181018160101-29d5937903ff+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 }