       response.expect 204, done
 
     it 'should enforce ball_value to be an int', (done) ->
-      response = post url, {ball_value: "one"}
+      response = post url, {ball_value: 'one'}
       response.expect {error: {
           ball_value: 'Should be an integer'
         }

      response.expect {error: 'Invalid JSON'}
      response.expect 400, done

  after ->
    server.close()

    server = require('./../src/application').listen 4000

  post = (url, content) ->
    request_var = request server
      .post url
      .set 'Accept', 'application/json'

    if content
      request_var.send content
      request_var.set 'Content-Type', 'application/json'

    return request_var

  describe 'POST /pot', ->
    url = '/pot'
