We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c0d908 commit 65b899dCopy full SHA for 65b899d
helpers/url_test.go
@@ -12,15 +12,15 @@ import (
12
var _ = Describe("URL Helpers", func() {
13
Describe("#IsActive", func() {
14
Context("given the URL and the path are the same", func() {
15
- It("returns the given file content", func() {
+ It("returns true", func() {
16
currentpath := &url.URL{Path: "/path"}
17
18
Expect(helpers.IsActive(currentpath, "/path")).To(BeTrue())
19
})
20
21
22
Context("given the URL and the path are NOT the same", func() {
23
+ It("returns false", func() {
24
25
26
Expect(helpers.IsActive(currentpath, "/another_path")).To(BeFalse())
0 commit comments