Nicer format

This commit is contained in:
deadprogram 2013-12-01 22:20:39 -08:00
parent d76fe47574
commit 305bee8239
1 changed files with 35 additions and 35 deletions

View File

@ -1,46 +1,46 @@
package gobot package gobot
import ( import (
. "github.com/onsi/ginkgo" . "github.com/onsi/ginkgo"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
) )
var _ = Describe("Robot", func() { var _ = Describe("Robot", func() {
var ( var (
someRobot Robot someRobot Robot
) )
BeforeEach(func() { BeforeEach(func() {
someRobot = Robot{ someRobot = Robot{
Work: func() { Work: func() {
}, },
} }
}) })
Describe("Robot", func() { Describe("Robot", func() {
Context("when valid", func() { Context("when valid", func() {
PIt("should Start", func() { PIt("should Start", func() {
Expect(true) Expect(true)
}) })
PIt("should initConnections", func() { PIt("should initConnections", func() {
Expect(true) Expect(true)
}) })
PIt("should initDevices", func() { PIt("should initDevices", func() {
Expect(true) Expect(true)
}) })
PIt("should startConnections", func() { PIt("should startConnections", func() {
Expect(true) Expect(true)
}) })
PIt("should startDevices", func() { PIt("should startDevices", func() {
Expect(true) Expect(true)
}) })
PIt("should GetDevices", func() { PIt("should GetDevices", func() {
Expect(true) Expect(true)
}) })
PIt("should GetDevice", func() { PIt("should GetDevice", func() {
Expect(true) Expect(true)
}) })
})
}) })
})
}) })