params added to long urls as well
This commit is contained in:
@@ -129,6 +129,7 @@
|
||||
(str "/"
|
||||
(last (clojure.string/split
|
||||
((parse-string (:body response)) "shortURL") #"/"))))) "Location")]
|
||||
(= url ((parse-string (:body response)) "longURL"))
|
||||
(substring? "theme=dark" url)
|
||||
(substring? "text-font=Felvetica" url))
|
||||
(is (do
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
(ns NoteHub.test.views.pages
|
||||
(:use [NoteHub.views.pages]
|
||||
[NoteHub.api :only [build-key get-signature get-date]]
|
||||
[NoteHub.api :only [build-key get-signature get-date url]]
|
||||
[noir.util.test]
|
||||
[NoteHub.storage]
|
||||
[clojure.test]))
|
||||
|
||||
Reference in New Issue
Block a user