blob: 559f68138be52aa0d4e96110a96dfe5f5394fc71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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)
}
}
|