Skip to content

Commit

Permalink
Updated express devDep
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Kliment committed Sep 29, 2014
1 parent 60ecde4 commit 7f556d5
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -38,7 +38,7 @@
"coffee-coverage": "~0.4.2",
"coffee-errors": "~0.8.4",
"coveralls": "~2.11.2",
"express": "~3.4.3",
"express": "~4.9.5",
"jscoverage": "~0.5.3",
"mocha": "~1.21.4",
"mocha-lcov-reporter": "0.0.1",
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/schema.apib
Expand Up @@ -8,7 +8,7 @@ Demonstrates dredd schema test issue [#46](https://github.com/apiaryio/dredd/iss
## Session [/]

### Log a user in [GET]
+ Response 200 (application/json)
+ Response 200 (application/json; charset=utf-8)

+ Body

Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/single-get.apib
Expand Up @@ -8,7 +8,7 @@ FORMAT: 1A

## Get Machines [GET]

- Response 200 (application/json)
- Response 200 (application/json; charset=utf-8)

[
{
Expand Down
40 changes: 20 additions & 20 deletions test/integration/cli-test.coffee
Expand Up @@ -60,7 +60,7 @@ describe "Command line interface", () ->
type: 'bulldozer'
name: 'willy'
response = [machine]
res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand All @@ -83,7 +83,7 @@ describe "Command line interface", () ->
type: 'bulldozer'
name: 'willy'
response = [machine]
res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand All @@ -106,7 +106,7 @@ describe "Command line interface", () ->
kind: 'bulldozer'
imatriculation: 'willy'
response = [machine]
res.send 201, response
res.status(201).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand Down Expand Up @@ -135,7 +135,7 @@ describe "Command line interface", () ->
type: 'bulldozer'
name: 'willy'
response = [machine]
res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand Down Expand Up @@ -164,7 +164,7 @@ describe "Command line interface", () ->
type: 'bulldozer'
name: 'willy'
response = [machine]
res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand Down Expand Up @@ -195,7 +195,7 @@ describe "Command line interface", () ->
type: 'bulldozer'
name: 'willy'
response = [machine]
res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand Down Expand Up @@ -223,7 +223,7 @@ describe "Command line interface", () ->
type: 'bulldozer'
name: 'willy'
response = [machine]
res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand Down Expand Up @@ -254,7 +254,7 @@ describe "Command line interface", () ->
type: 'bulldozer'
name: 'willy'
response = [machine]
res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand All @@ -278,7 +278,7 @@ describe "Command line interface", () ->
kind: 'bulldozer'
imatriculation: 'willy'
response = [machine]
res.send 201, response
res.status(201).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand Down Expand Up @@ -308,7 +308,7 @@ describe "Command line interface", () ->
type: 'bulldozer'
name: 'willy'
response = [machine]
res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand Down Expand Up @@ -338,7 +338,7 @@ describe "Command line interface", () ->
type: 'bulldozer'
name: 'willy'
response = [machine]
res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand All @@ -365,7 +365,7 @@ describe "Command line interface", () ->
type: 'bulldozer'
name: 'willy'
response = [machine]
res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand All @@ -392,7 +392,7 @@ describe "Command line interface", () ->
type: 'bulldozer'
name: 'willy'
response = [machine]
res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand Down Expand Up @@ -421,7 +421,7 @@ describe "Command line interface", () ->
type: 'bulldozer'
name: 'willy'
response = [machine]
res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand Down Expand Up @@ -449,7 +449,7 @@ describe "Command line interface", () ->
type: 'bulldozer'
name: 'willy'
response = [machine]
res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand Down Expand Up @@ -477,7 +477,7 @@ describe "Command line interface", () ->
type: 'bulldozer'
name: 'willy'
response = [machine]
res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand Down Expand Up @@ -512,7 +512,7 @@ describe "Command line interface", () ->
type: 'bulldozer'
name: 'willy'
response = [machine]
res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, (err, stdout, stderr) ->
Expand Down Expand Up @@ -551,7 +551,7 @@ describe "Command line interface", () ->
type: 'bulldozer'
name: 'willy'
response = [machine]
res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, (err, stdout, stderr) ->
Expand Down Expand Up @@ -580,7 +580,7 @@ describe "Command line interface", () ->
expires: 1234,
token: 'this should pass since it is a string'

res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand All @@ -605,7 +605,7 @@ describe "Command line interface", () ->
expires: 'this should fail since it is a string',
token: 'this should pass since it is a string'

res.send 200, response
res.status(200).send response

server = app.listen PORT, () ->
execCommand cmd, () ->
Expand Down

0 comments on commit 7f556d5

Please sign in to comment.