github.com/jordwest/imap-server@v0.0.0-20200627020849-1cf758ba359f/conn/command_lsub_test.go (about) 1 package conn_test 2 3 import ( 4 "github.com/jordwest/imap-server/conn" 5 . "github.com/onsi/ginkgo" 6 ) 7 8 var _ = Describe("LOGIN Command", func() { 9 Context("When logged in", func() { 10 BeforeEach(func() { 11 tConn.SetState(conn.StateAuthenticated) 12 tConn.User = mStore.User 13 }) 14 15 PIt("should (implement test)", func() { 16 }) 17 }) 18 19 Context("When not logged in", func() { 20 BeforeEach(func() { 21 tConn.SetState(conn.StateNotAuthenticated) 22 }) 23 24 PIt("should give an error", func() { 25 }) 26 }) 27 })