go-common/app/admin/main/workflow/service/business_test.go

17 lines
332 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package service
import (
"context"
"testing"
"github.com/smartystreets/goconvey/convey"
)
func TestListMeta(t *testing.T) {
convey.Convey("ListMeta", t, func() {
ml, err := s.ListMeta(context.Background(), "challenge")
convey.So(err, convey.ShouldBeNil)
convey.So(len(ml), convey.ShouldBeGreaterThanOrEqualTo, 1)
})
}