-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdomains_test.go
More file actions
34 lines (30 loc) · 1.05 KB
/
domains_test.go
File metadata and controls
34 lines (30 loc) · 1.05 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
package _tests_test
import (
. "github.com/onsi/ginkgo"
// . "github.com/onsi/gomega"
)
var _ = Describe("Domains", func() {
Context("with a deployed app", func() {
XIt("can add, list, and remove domains", func() {
// "deis domains:list --app=%s", app
// "deis domains:add %s --app=%s", domain, app
// "deis domains:list --app=%s", app
// curl app at both root and custom domain
// "deis domains:remove %s --app=%s", domain, app
// "deis domains:list --app=%s", app
// curl app at both root and custom domain, custom should fail
})
XIt("can add, list, and remove certs", func() {
// "deis domains:add %s --app=%s", domain, app
// "deis certs:list", app
// "deis certs:add %s %s", certPath, keyPath
// wait for 60 seconds until cert generation is done?
// curl the custom SSL endpoint
// "deis certs:remove %s", domain
// "deis certs:list", app
// curl the custom SSL endpoint, should fail
// curl app at both root and custom domain, custom should fail
// "deis domains:remove %s --app=%s", domain, app
})
})
})