Files
opencloud/ocis-pkg/config/config_test.go
Ralf Haferkamp b0fb996b82 Allow to pass string list via Enviroment
Allow to pass comma-separated strings via Enviroment variables and store
them in a string slice.
2022-04-11 18:17:21 +02:00

17 lines
341 B
Go

package config_test
import (
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"github.com/owncloud/ocis/ocis-pkg/config"
"gopkg.in/yaml.v2"
)
var _ = Describe("Config", func() {
It("Success generating the default config", func() {
cfg := config.DefaultConfig()
_, err := yaml.Marshal(cfg)
Expect(err).To(BeNil())
})
})