[Haskell-cafe] Help with hspec-wai
Ricardo Boccato Alves
boccato at gmail.com
Wed Apr 12 01:36:33 UTC 2017
Hello,
I have been struggling with hspec-wai with what seems to me to be a simple
problem: I want to create an Application using a parameter and access that
parameter inside the test.
The closer I found was this article:
https://begriffs.com/posts/2014-10-19-warp-server-controller-test.html
The part I am struggling is to access the connection inside the test, this
gist is the closer I got.
https://gist.github.com/boccato/e151d3a4e4f5d925b904126f80d8cb65
I know I am doing something very stupid and / or didn't understand
something very basic, but I just can't see it by myself.
Tks,
Ricardo Boccato Alves.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20170411/35568ba2/attachment.html>
More information about the Haskell-Cafe
mailing list