You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

16 lines
323 B

package main
import (
"io/ioutil"
"testing"
"github.com/stretchr/testify/assert"
)
func TestBlubberoidOpenAPISpecTemplateMatchesFile(t *testing.T) {
specFile, err := ioutil.ReadFile("../../api/openapi-spec/blubberoid.yaml")
if assert.NoError(t, err) {
assert.Equal(t, string(specFile), openAPISpecTemplate)
}
}