Files
gitea-release-resource/resource_suite_test.go
2018-12-19 18:00:25 -05:00

24 lines
415 B
Go

package resource_test
import (
"testing"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/xanzy/go-gitlab"
)
func TestGithubReleaseResource(t *testing.T) {
RegisterFailHandler(Fail)
RunSpecs(t, "GitLab Release Resource Suite")
}
func newTag(name, sha string) *gitlab.Tag {
return &gitlab.Tag{
Commit: &gitlab.Commit{
ID: *gitlab.String(sha),
},
Name: *gitlab.String(name),
}
}