business_test.go 332 B

12345678910111213141516
  1. package service
  2. import (
  3. "context"
  4. "testing"
  5. "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestListMeta(t *testing.T) {
  8. convey.Convey("ListMeta", t, func() {
  9. ml, err := s.ListMeta(context.Background(), "challenge")
  10. convey.So(err, convey.ShouldBeNil)
  11. convey.So(len(ml), convey.ShouldBeGreaterThanOrEqualTo, 1)
  12. })
  13. }