github.com/Benchkram/bob@v0.0.0-20220321080157-7c8f3876e225/test/e2e/init/init_test.go (about) 1 package inittest 2 3 import ( 4 . "github.com/onsi/ginkgo" 5 . "github.com/onsi/gomega" 6 7 "github.com/Benchkram/bob/pkg/file" 8 ) 9 10 var _ = Describe("Test bob init", func() { 11 Context("in a fresh environment", func() { 12 It("initializes bob", func() { 13 Expect(b.Init()).NotTo(HaveOccurred()) 14 }) 15 16 It("check that .bob dir exists", func() { 17 Expect(file.Exists(".bob.workspace")).To(BeTrue()) 18 }) 19 }) 20 })