-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathconfig_test.go
More file actions
53 lines (41 loc) · 1.27 KB
/
config_test.go
File metadata and controls
53 lines (41 loc) · 1.27 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package _tests_test
import (
. "github.com/onsi/ginkgo"
// . "github.com/onsi/gomega"
)
var _ = Describe("Config", func() {
Context("with a deployed app", func() {
XIt("can list environment variables", func() {
// "deis config:set FOO=bar--app=%s"
// "deis run env --app=%s"
// "deis config:list --app=%s"
})
XIt("can set an integer environment variable", func() {
// "deis config:set FOO=10 --app=%s"
// "deis run env --app=%s"
})
XIt("can set an environment variable containing spaces", func() {
// "config:set POWERED_BY=\"the Deis team\" --app={{.AppName}}"
// "deis run env --app=%s"
})
XIt("can set a multi-line environment variable", func() {
// `deis config:set FOO="This is a
//multiline string" --app={{.AppName}}`
// "deis run env --app=%s"
})
XIt("can set an environment variable with multibyte chars", func() {
// "deis config:set FOO=讲台 --app=%s"
// "deis run env --app=%s"
})
XIt("can unset an environment variable", func() {
// "deis config:set FOO=bar --app=%s"
// "deis run env --app=%s"
// "deis config:unset FOO --app=%s"
// "deis run env --app=%s"
})
XIt("can pull the configuration to an .env file", func() {
})
XIt("can push the configuration from an .env file", func() {
})
})
})