forked from hybridgroup/gobot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d76fe47
commit 305bee8
Showing
1 changed file
with
35 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
package gobot | ||
|
||
import ( | ||
. "github.com/onsi/ginkgo" | ||
. "github.com/onsi/gomega" | ||
. "github.com/onsi/ginkgo" | ||
. "github.com/onsi/gomega" | ||
) | ||
|
||
var _ = Describe("Robot", func() { | ||
|
||
var ( | ||
someRobot Robot | ||
) | ||
var ( | ||
someRobot Robot | ||
) | ||
|
||
BeforeEach(func() { | ||
someRobot = Robot{ | ||
Work: func() { | ||
}, | ||
} | ||
}) | ||
BeforeEach(func() { | ||
someRobot = Robot{ | ||
Work: func() { | ||
}, | ||
} | ||
}) | ||
|
||
Describe("Robot", func() { | ||
Context("when valid", func() { | ||
PIt("should Start", func() { | ||
Expect(true) | ||
}) | ||
PIt("should initConnections", func() { | ||
Expect(true) | ||
}) | ||
PIt("should initDevices", func() { | ||
Expect(true) | ||
}) | ||
PIt("should startConnections", func() { | ||
Expect(true) | ||
}) | ||
PIt("should startDevices", func() { | ||
Expect(true) | ||
}) | ||
PIt("should GetDevices", func() { | ||
Expect(true) | ||
}) | ||
PIt("should GetDevice", func() { | ||
Expect(true) | ||
}) | ||
}) | ||
Describe("Robot", func() { | ||
Context("when valid", func() { | ||
PIt("should Start", func() { | ||
Expect(true) | ||
}) | ||
PIt("should initConnections", func() { | ||
Expect(true) | ||
}) | ||
PIt("should initDevices", func() { | ||
Expect(true) | ||
}) | ||
PIt("should startConnections", func() { | ||
Expect(true) | ||
}) | ||
PIt("should startDevices", func() { | ||
Expect(true) | ||
}) | ||
PIt("should GetDevices", func() { | ||
Expect(true) | ||
}) | ||
PIt("should GetDevice", func() { | ||
Expect(true) | ||
}) | ||
}) | ||
}) | ||
}) |