Sha256: 40822ddacd5baa585f4f0b9045ea44de64ace9ae81038a2058f3115517e5eb12

Contents?: true

Size: 991 Bytes

Versions: 6

Compression:

Stored size: 991 Bytes

Contents

Feature: Styleguide apiary.apib on API_NAME.docs.apiary.io

  # This is integration testing you have to set APIARY_API_KEY
  @needs_apiary_api_key
  Scenario: Styleguide validation - pass

    When I run `apiary  styleguide --functions=../../features/support --rules=../../features/support --add=../../features/support --full_report`
    Then the output should match /(PASSED)/
    And the exit status should be 0

  @needs_apiary_api_key
  Scenario: Styleguide validation - fail

    When I run `apiary  styleguide --functions=../../features/support/functions-fail.js --rules=../../features/support --add=../../features/support --full_report`
    Then the output should match /(FAILED)/
    And the exit status should be 1

  # This is integration testing you have to set APIARY_API_KEY
  @needs_apiary_api_key
  Scenario: Styleguide fetch

    When I run `apiary  styleguide --fetch`
    Then the output should match /(has beed succesfully created)/
    And  the exit status should be 0


Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
apiaryio-0.17.0 features/styleguide.feature
apiaryio-0.16.1 features/styleguide.feature
apiaryio-0.16.0 features/styleguide.feature
apiaryio-0.15.2 features/styleguide.feature
apiaryio-0.15.1 features/styleguide.feature
apiaryio-0.15.0 features/styleguide.feature