Fix wrong placement of When in test
This commit is contained in:
@@ -32,6 +32,7 @@ var _ = Describe("publicURL", func() {
|
|||||||
Expect(actual).To(Equal("http://share.myotherserver.com/share/img/123?size=300"))
|
Expect(actual).To(Equal("http://share.myotherserver.com/share/img/123?size=300"))
|
||||||
|
|
||||||
})
|
})
|
||||||
|
})
|
||||||
When("ShareURL is not set", func() {
|
When("ShareURL is not set", func() {
|
||||||
BeforeEach(func() {
|
BeforeEach(func() {
|
||||||
conf.Server.ShareURL = ""
|
conf.Server.ShareURL = ""
|
||||||
@@ -52,5 +53,4 @@ var _ = Describe("publicURL", func() {
|
|||||||
Expect(actual).To(Equal("https://myserver.com/share/img/123?size=300"))
|
Expect(actual).To(Equal("https://myserver.com/share/img/123?size=300"))
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user