<div dir="ltr"><div class="gmail_default" style="font-size:small">Hello,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">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. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The closer I found was this article:</div><div class="gmail_default" style="font-size:small">  <a href="https://begriffs.com/posts/2014-10-19-warp-server-controller-test.html">https://begriffs.com/posts/2014-10-19-warp-server-controller-test.html</a></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The part I am struggling is to access the connection inside the test, this gist is the closer I got.</div><div class="gmail_default" style="font-size:small">  <a href="https://gist.github.com/boccato/e151d3a4e4f5d925b904126f80d8cb65">https://gist.github.com/boccato/e151d3a4e4f5d925b904126f80d8cb65</a><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">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.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Tks,</div><div class="gmail_default" style="font-size:small">Ricardo Boccato Alves.</div></div>