Skip to content

Commit

Permalink
Add flushBuffer to response mock.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericnormand committed Feb 11, 2014
1 parent 9b4ebe2 commit f594a49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ring-servlet/test/ring/util/test/servlet.clj
Expand Up @@ -35,7 +35,8 @@
(swap! response assoc-in [:headers name] value))
(setCharacterEncoding [value])
(setContentType [value]
(swap! response assoc :content-type value))))
(swap! response assoc :content-type value))
(flushBuffer [])))

(defn- servlet-config []
(proxy [javax.servlet.ServletConfig] []
Expand Down

0 comments on commit f594a49

Please sign in to comment.