Skip to content

Commit 65b899d

Browse files
committed
[#112] Fix the test
1 parent 8c0d908 commit 65b899d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helpers/url_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ import (
1212
var _ = Describe("URL Helpers", func() {
1313
Describe("#IsActive", func() {
1414
Context("given the URL and the path are the same", func() {
15-
It("returns the given file content", func() {
15+
It("returns true", func() {
1616
currentpath := &url.URL{Path: "/path"}
1717

1818
Expect(helpers.IsActive(currentpath, "/path")).To(BeTrue())
1919
})
2020
})
2121

2222
Context("given the URL and the path are NOT the same", func() {
23-
It("returns the given file content", func() {
23+
It("returns false", func() {
2424
currentpath := &url.URL{Path: "/path"}
2525

2626
Expect(helpers.IsActive(currentpath, "/another_path")).To(BeFalse())

0 commit comments

Comments
 (0)