       waitsFor (-> stopped), 'stubby to stop', 10
 
    describe 'Stubs', ->
+      beforeEach ->
+         context.port = 8882
+
       describe 'basics', ->
         it 'should return a basic GET endpoint', ->
             context.url = '/basic/get'

   context.body ?= ''
   context.headers ?= {}
   options =
      host: 'localhost'
      port: '8882'
      method: context.method
      path: context.url
      headers: context.requestHeaders

fs = require 'fs'
http = require 'http'
yaml = require 'js-yaml'
ce = require 'cloneextend'
endpointData = yaml.load (fs.readFileSync 'spec/data/e2e.yaml', 'utf8').trim()

createRequest = (context) ->
