Fix wrong placement of When in test
This commit is contained in:
parent
8ac133027d
commit
2887cd65fc
1 changed files with 19 additions and 19 deletions
|
|
@ -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 = ""
|
||||||
|
|
@ -53,4 +54,3 @@ var _ = Describe("publicURL", func() {
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue