   {
     serviceName: 'echo'
     method: 'post'
-    path: '/'
+    path: '/echo'
     postData:
       x: 2
       y: 3


setup = require './setup'


# test services
services =
  'hello':
    serviceName: 'hello'
    service: ({}, done) ->
      done null, {body: 'hello'}

  'echo':
    serviceName: 'echo'
    service: ({}, done) ->
      done()


# test routes and response values


describe 'with simple services wired to routes', () ->
  beforeEach (done) ->
    {@app, @server, @url} = setup services, routes
    done()

