Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
Updating Protagonist to resolve apiaryio/drafter#259.
Browse files Browse the repository at this point in the history
  • Loading branch information
honzajavorek committed Apr 5, 2016
1 parent 1ee09c0 commit ae4c93e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"jscoverage": "^0.6.0",
"mocha": "^2.3.4",
"mocha-lcov-reporter": "^1.0.0",
"protagonist": "^1.3.0-pre.0"
"protagonist": "^1.3.0-pre.1"
},
"keywords": [
"api",
Expand Down
14 changes: 1 addition & 13 deletions test/unit/detect-transaction-examples-test.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ detectTransactionExamples = require('../../src/detect-transaction-examples')


# Encapsulates a single test scenario.
scenario = (description, {actionContent, examples, exampleNumbersPerTransaction, skip}) ->
return if skip

scenario = (description, {actionContent, examples, exampleNumbersPerTransaction}) ->
describe("#{description}", ->
apiBlueprint = """
FORMAT: 1A
Expand Down Expand Up @@ -256,7 +254,6 @@ describe('detectTransactionExamples()', ->

describe('various ways of specifying requests', ->
scenario('bare',
skip: true # https://github.com/apiaryio/drafter/issues/259
actionContent: '''
+ Request
+ Response 200
Expand Down Expand Up @@ -310,7 +307,6 @@ describe('detectTransactionExamples()', ->
)

scenario('with bare Headers section',
skip: true # https://github.com/apiaryio/drafter/issues/259
actionContent: '''
+ Request
+ Headers
Expand Down Expand Up @@ -353,7 +349,6 @@ describe('detectTransactionExamples()', ->
)

scenario('with bare Attributes section',
skip: true # https://github.com/apiaryio/drafter/issues/259
actionContent: '''
+ Request
+ Attributes
Expand Down Expand Up @@ -396,7 +391,6 @@ describe('detectTransactionExamples()', ->
)

scenario('with bare Body section',
skip: true # https://github.com/apiaryio/drafter/issues/259
actionContent: '''
+ Request
+ Body
Expand Down Expand Up @@ -439,7 +433,6 @@ describe('detectTransactionExamples()', ->
)

scenario('with bare Schema section',
skip: true # https://github.com/apiaryio/drafter/issues/259
actionContent: '''
+ Request
+ Schema
Expand All @@ -462,7 +455,6 @@ describe('detectTransactionExamples()', ->

describe('various ways of specifying responses', ->
scenario('bare',
skip: true # https://github.com/apiaryio/drafter/issues/259
actionContent: '''
+ Request (application/json)
+ Response
Expand Down Expand Up @@ -531,7 +523,6 @@ describe('detectTransactionExamples()', ->
)

scenario('with bare Headers section',
skip: true # https://github.com/apiaryio/drafter/issues/259
actionContent: '''
+ Request (application/json)
+ Response
Expand Down Expand Up @@ -574,7 +565,6 @@ describe('detectTransactionExamples()', ->
)

scenario('with bare Attributes section',
skip: true # https://github.com/apiaryio/drafter/issues/259
actionContent: '''
+ Request (application/json)
+ Response
Expand Down Expand Up @@ -617,7 +607,6 @@ describe('detectTransactionExamples()', ->
)

scenario('with bare Body section',
skip: true # https://github.com/apiaryio/drafter/issues/259
actionContent: '''
+ Request (application/json)
+ Response
Expand Down Expand Up @@ -660,7 +649,6 @@ describe('detectTransactionExamples()', ->
)

scenario('with bare Schema section',
skip: true # https://github.com/apiaryio/drafter/issues/259
actionContent: '''
+ Request (application/json)
+ Response
Expand Down

0 comments on commit ae4c93e

Please sign in to comment.