github.com/randomtask1155/cli@v6.41.1-0.20181227003417-a98eed78cbde+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 }