mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
20 lines
373 B
Go
20 lines
373 B
Go
package config_test
|
|
|
|
import (
|
|
"github.com/iron-io/iron_go3/config"
|
|
. "github.com/jeffh/go.bdd"
|
|
"testing"
|
|
)
|
|
|
|
func init() {
|
|
defer PrintSpecReport()
|
|
Describe("gets config", func() {
|
|
It("gets default configs", func() {
|
|
s := config.Config("iron_undefined")
|
|
Expect(s.Host, ToEqual, "undefined-aws-us-east-1.iron.io")
|
|
})
|
|
})
|
|
}
|
|
|
|
func TestEverything(t *testing.T) {}
|