Skip to content

Commit 3c36e18

Browse files
committed
Updated target in acceptance tests
1 parent 2d11b57 commit 3c36e18

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

acceptance/call_test.go

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,18 @@ var _ = Describe("Scheduler Calls", func() {
2828

2929
Describe("create-call", func() {
3030
It("test correct call creation", func() {
31-
Expect(cf.Cf("create-call", appName, callName, `https://www.starkandwayne.com/`).
31+
Expect(cf.Cf("create-call", appName, callName, `https://fivetwenty.io/`).
3232
Wait(time.Second * 10)).To(Exit(0))
33+
34+
Expect(cf.Cf("calls").
35+
Wait(time.Second * 1).Out.Contents()).
36+
Should(ContainSubstring(callName))
3337
})
3438
})
3539

3640
Describe("schedule-call", func() {
3741
It("test correct call scheduling", func() {
38-
Expect(cf.Cf("create-call", appName, callName, `https://www.starkandwayne.com/`).
42+
Expect(cf.Cf("create-call", appName, callName, `https://fivetwenty.io/`).
3943
Wait(time.Second * 10)).To(Exit(0))
4044

4145
Expect(cf.Cf("schedule-call", callName, `15 * * * *`).
@@ -49,7 +53,7 @@ var _ = Describe("Scheduler Calls", func() {
4953

5054
Describe("run-call", func() {
5155
It("test correct call manual execution", func() {
52-
Expect(cf.Cf("create-call", appName, callName, `https://www.starkandwayne.com/`).
56+
Expect(cf.Cf("create-call", appName, callName, `https://fivetwenty.io/`).
5357
Wait(time.Second * 10)).To(Exit(0))
5458

5559
Expect(cf.Cf("run-call", callName).
@@ -60,7 +64,7 @@ var _ = Describe("Scheduler Calls", func() {
6064

6165
Describe("delete-call", func() {
6266
It("test correct call deletion", func() {
63-
Expect(cf.Cf("create-call", appName, callName, `https://www.starkandwayne.com/`).
67+
Expect(cf.Cf("create-call", appName, callName, `https://fivetwenty.io/`).
6468
Wait(time.Second * 10)).To(Exit(0))
6569

6670
Expect(cf.Cf("delete-call", callName).
@@ -78,7 +82,7 @@ var _ = Describe("Scheduler Calls", func() {
7882

7983
Describe("delete-call-schedule", func() {
8084
It("test correct call schedule deletion", func() {
81-
Expect(cf.Cf("create-call", appName, callName, `https://www.starkandwayne.com/`).
85+
Expect(cf.Cf("create-call", appName, callName, `https://fivetwenty.io/`).
8286
Wait(time.Second * 10)).To(Exit(0))
8387

8488
Expect(cf.Cf("schedule-call", callName, `15 * * * *`).

0 commit comments

Comments
 (0)