1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-26 13:48:49 +08:00
hybridgroup.gobot/api/api_suite_test.go
2014-05-15 11:50:45 -07:00

21 lines
295 B
Go

package api
import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"log"
"testing"
)
type null struct{}
func (null) Write(p []byte) (int, error) {
return len(p), nil
}
func TestApi(t *testing.T) {
log.SetOutput(new(null))
RegisterFailHandler(Fail)
RunSpecs(t, "Api Suite")
}