Sha256: db4741111baa85f4195b4d7e5441b570448527812f86a3a8df458175cf4bc13b
Contents?: true
Size: 1.11 KB
Versions: 1
Compression:
Stored size: 1.11 KB
Contents
Feature: Validate a blueprint Scenario: Validate a valid blueprint file When I run `snowcrash --validate blueprint.apib` Then the output should contain: """ OK """ Scenario: Validate a valid blueprint input When I run `snowcrash --validate` interactively When I pipe in the file "blueprint.apib" Then the output should contain: """ OK """ Scenario: Validate an invalid blueprint file When I run `snowcrash --validate invalid_blueprint.apib` Then the output should contain: """ OK. warning: (5) unexpected header block, expected a group, resource or an action definition, e.g. '# Group <name>', '# <resource name> [<URI>]' or '# <HTTP method> <URI>' :24:29 """ Scenario: Validate an invalid blueprint input When I run `snowcrash --validate` interactively When I pipe in the file "invalid_blueprint.apib" Then the output should contain: """ OK. warning: (5) unexpected header block, expected a group, resource or an action definition, e.g. '# Group <name>', '# <resource name> [<URI>]' or '# <HTTP method> <URI>' :24:29 """
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redsnow-0.3.2 | ext/snowcrash/features/validate.feature |