Skip to content
This repository has been archived by the owner on Jan 20, 2025. It is now read-only.

Commit

Permalink
[UPDATE] manifest test
Browse files Browse the repository at this point in the history
  • Loading branch information
HappyTobi committed May 9, 2019
1 parent 34815c9 commit 361b83d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions manifest/manifest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ var _ = Describe("Parse Manifest", func() {
Expect(manifest.ApplicationManifests[0].Buildpacks[0]).Should(Equal("java_buildpack"))
Expect(manifest.ApplicationManifests[0].Buildpacks[1]).Should(Equal("go_buildpack"))
})

It("parses complete manifest with services", func() {
manifest, err := Parse("../fixtures/manifest.yml")
Expect(err).ShouldNot(HaveOccurred())
Expect(manifest.ApplicationManifests[0].Name).Should(Equal("myApp"))
Expect(manifest.ApplicationManifests[0].Services[0]).Should(Equal("service1"))
Expect(manifest.ApplicationManifests[0].Services[1]).Should(Equal("service2"))
})
})

var _ = Describe("Parse multi Application Manifest", func() {
Expand Down

0 comments on commit 361b83d

Please sign in to comment.