     return
 
 
-  describe "when creating DreddCommand instance with existing blueprint and responding server", () ->
+  describe "when creating Dredd instance with existing blueprint and responding server", () ->
     describe "when the server is responding as specified in the blueprint", () ->
 
       before (done) ->
-        custom =
-          argv: [
-            "./test/fixtures/single-get.apib"
-            "http://localhost:#{PORT}"
-          ]
+        cmd =
+          options:
+            path: "./test/fixtures/single-get.apib"
 
         app = express()
 


    describe '--path argument is a string', ->
      before (done) ->
        custom =
          argv: [
            "./test/fixtures/single-get.apib"
            '--path', './test/fixtures/single-get.apib'
            "http://localhost:#{PORT}"
          ]

        app = express()


    notFound = null
    fileFound = null

    errorCmd =
      server: "http://localhost:#{PORT+1}"
      options:
        path: ["http://localhost:#{PORT+1}/connection-error.apib"]

    wrongCmd =
      options:
        path: ["http://localhost:#{PORT}/not-found.apib"]

    goodCmd =
      options:
        path: ["http://localhost:#{PORT}/file.apib"]

    afterEach ->
      connectedToServer = null
