     func testSendsParamsConfiguredInTheHttpRequest() {
         stubRequest("GET", "http://www.any.com/?key=value")
         let httpClient = AlamofireHttpClient()
+        let getRequest = givenOneHttpRequest(.GET, url: "http://www.any.com/", params: ["key" : "value"])
 
-        let params = ["key" : "value"]
         var requestFinished = false
-        let getRequest = givenOneHttpRequest(.GET, url: "http://www.any.com/", params: params)
         httpClient.send(getRequest).onSuccess { httpResponse in
             requestFinished = true
         }

    func testSendsPostRequestToAnyPath() {
        stubRequest("POST", anyUrl)
        let httpClient = AlamofireHttpClient()

        var requestFinished = false
        let getRequest = givenOneHttpRequest(.POST, url: anyUrl)
        httpClient.send(getRequest).onSuccess { httpResponse in
            requestFinished = true
        }

        httpClient.send(getRequest)

        expect(requestFinished).toEventually(beTrue())
    }

    func testReceivesResponseBodyInTheHttpResponse() {
        stubRequest("GET", anyUrl).andReturn(200).withBody(anyBody)
        let httpClient = AlamofireHttpClient()
        let getRequest = givenOneHttpRequest(.GET, url: anyUrl)

        var body = ""
        httpClient.send(getRequest).onSuccess { httpResponse in
            body = httpResponse.body!
        }
