Skip to content

Commit

Permalink
Merge pull request #67 from apiaryio/honzajavorek/update-fury-adapter…
Browse files Browse the repository at this point in the history
…-swagger

Update Fury adapter for Swagger
  • Loading branch information
miiila committed Oct 25, 2016
2 parents 5b7f09f + 04592dd commit 12e805a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"main": "lib/dredd-transactions.js",
"scripts": {
"lint": "coffeelint ./src",
"compile": "coffee -b -c -o lib/ src/",
"build": "coffee -b -c -o lib/ src/",
"test": "./scripts/test",
"test:bdd": "./scripts/test -w",
"prepublish": "npm run compile",
"prepublish": "npm run build",
"coveralls": "./scripts/cov mocha-lcov-reporter | ./node_modules/coveralls/bin/coveralls.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
Expand All @@ -22,7 +22,7 @@
"deckardcain": "^0.3.2",
"fury": "^2.1.0",
"fury-adapter-apib-parser": "^0.3.0",
"fury-adapter-swagger": "^0.9.1",
"fury-adapter-swagger": "^0.9.7",
"sift": "^3.2.1",
"traverse": "^0.6.6",
"uri-template": "^1.0.0"
Expand Down
4 changes: 2 additions & 2 deletions test/integration/compile-api-blueprint-test.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('compile() · API Blueprint', ->
)
)

describe('causing a \'not specified in URI Template\' warning', ->
describe('causing a \'not found within URI Template\' warning', ->
# The warning was previously handled by compiler, but now parser should
# already provide the same kind of warning.

Expand Down Expand Up @@ -76,7 +76,7 @@ describe('compile() · API Blueprint', ->
assert.isNumber(warnings[0].code)
)
it('has message', ->
assert.include(warnings[0].message.toLowerCase(), 'not specified in')
assert.include(warnings[0].message.toLowerCase(), 'not found within')
assert.include(warnings[0].message.toLowerCase(), 'uri template')
)
it('has location', ->
Expand Down

0 comments on commit 12e805a

Please sign in to comment.