Created
December 26, 2015 08:12
-
-
Save masone/a9d29cd314388ccaffbf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FORMAT: 1A | |
HOST: http://localhost:3003/ | |
# legalwalls | |
## Walls [/walls] | |
### List walls [GET] | |
+ Response 200 (application/json) | |
[ | |
{ | |
"id": 1, | |
"title":"Bassersdorf", | |
"active": true, | |
"legal": true, | |
"location": { | |
"coordinates": [47.4500, 8.6333], | |
"address": "Bassersdorferweg, 8303 Bassersdorf", | |
"city": "Bassersdorf", | |
"country_code": "CH" | |
} | |
} | |
] | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
❯ dredd --level=silly | |
Configuration dredd.yml found, ignoring other arguments. | |
info: Using apiary reporter. | |
Starting server with command: bundle exec rails server -p 3003 | |
Waiting 3 seconds for server command to start... | |
DEPRECATION WARNING: Accessing mime types via constants is deprecated. Please change `Mime::JSON` to `Mime[:json]`. (called from <top (required)> at /Users/cfelder/Rails/legalwalls-api/config/application.rb:17) | |
warning: parser/current is loading parser/ruby22, which recognizes | |
warning: 2.2.3-compliant syntax, but you are running 2.2.4. | |
warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri. | |
=> Booting Puma | |
=> Rails 5.0.0.beta1 application starting in development on http://localhost:3003 | |
=> Run `rails server -h` for more startup options | |
=> Ctrl-C to shutdown server | |
info: Beginning Dredd testing... | |
I, [2015-12-26T09:10:56.733720 #93669] INFO -- : Celluloid 0.17.2 is running in BACKPORTED mode. [ http://git.io/vJf3J ] | |
Puma 2.15.3 starting... | |
* Min threads: 0, max threads: 16 | |
* Environment: development | |
* Listening on tcp://localhost:3003 | |
debug: Running hooks... | |
debug: Running hooks... | |
error: GET /walls duration: 4ms | |
error: Error connecting to server under test! | |
/Users/cfelder/.nvm/versions/node/v4.2.3/lib/node_modules/dredd/lib/reporters/apiary-reporter.js:159 | |
if ((base = data['resultData']['result'])['general'] == null) { | |
^ | |
TypeError: Cannot read property 'general' of undefined | |
at EventEmitter.<anonymous> (/Users/cfelder/.nvm/versions/node/v4.2.3/lib/node_modules/dredd/lib/reporters/apiary-reporter.js:159:50) | |
at emitThree (events.js:102:20) | |
at EventEmitter.emit (events.js:175:7) | |
at ClientRequest.<anonymous> (/Users/cfelder/.nvm/versions/node/v4.2.3/lib/node_modules/dredd/lib/transaction-runner.js:517:33) | |
at emitOne (events.js:77:13) | |
at ClientRequest.emit (events.js:169:7) | |
at Socket.socketErrorListener (_http_client.js:259:9) | |
at emitOne (events.js:77:13) | |
at Socket.emit (events.js:169:7) | |
at emitErrorNT (net.js:1253:8) | |
at doNTCallback2 (node.js:441:9) | |
at process._tickCallback (node.js:355:17) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
reporter: apiary | |
custom: | |
apiaryApiKey: xxx | |
apiaryApiName: legalwalls | |
dry-run: null | |
hookfiles: null | |
language: ruby | |
sandbox: false | |
server: bundle exec rails server -p 3003 | |
server-wait: 3 | |
init: false | |
names: false | |
only: [] | |
output: [] | |
header: [] | |
sorted: false | |
user: null | |
inline-errors: false | |
details: false | |
method: [] | |
color: true | |
level: info | |
timestamp: false | |
silent: false | |
path: [] | |
blueprint: apiary.apib | |
endpoint: 'http://localhost:3003' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment