     func testSendsDeleteRequestToAnyPath() {
         stubRequest("DELETE", anyUrl)
         let httpClient = AlamofireHttpClient()
+        let getRequest = givenOneHttpRequest(.DELETE, url: anyUrl)
 
         var requestFinished = false
-        let getRequest = givenOneHttpRequest(.DELETE, url: anyUrl)
         httpClient.send(getRequest).onSuccess { httpResponse in
             requestFinished = true
         }
-
-        httpClient.send(getRequest)
 
         expect(requestFinished).toEventually(beTrue())
     }

    func testSendsParamsConfiguredInTheHttpRequest() {
        stubRequest("GET", "http://www.any.com/?key=value")
        let httpClient = AlamofireHttpClient()

        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 testReceivesHttpStatusCodeInTheHttpResponse() {
        stubRequest("GET", anyUrl).andReturn(anyStatusCode)
        let httpClient = AlamofireHttpClient()
        let getRequest = givenOneHttpRequest(.GET, url: anyUrl)

        var statusCode = 0
        httpClient.send(getRequest).onSuccess { httpResponse in
            statusCode = httpResponse.statusCode
        }

        expect(statusCode).toEventually(equal(anyStatusCode))
    }
