Sha256: 3292b75eed4b650cd8cf4b51d0b7d739bf838dc5a644a0c1381ea1d59240b67d

Contents?: true

Size: 1.99 KB

Versions: 7

Compression:

Stored size: 1.99 KB

Contents

Feature: Statistics API

  Background:
    Given I have "Github::Repos::Statistics" instance

  Scenario: Contributors

    Given I want contributors resources
      And I pass the following request options:
        | user         | repo   |
        | peter-murach | github |
    When I make request within a cassette named "repos/stats/contribs"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

  Scenario: Commit Activity

    Given I want commit_activity resources
      And I pass the following request options:
        | user         | repo   |
        | peter-murach | github |
    When I make request within a cassette named "repos/stats/commits"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

#   Scenario: Code Frequency
# 
#     Given I want code_frequency resources
#       And I pass the following request options:
#         | user         | repo   |
#         | peter-murach | github |
#     When I make request within a cassette named "repos/stats/frequency"
#     Then the response status should be 200
#       And the response type should be JSON
#       And the response should not be empty

  Scenario: Participation

    Given I want participation resources
      And I pass the following request options:
        | user         | repo   |
        | peter-murach | github |
    When I make request within a cassette named "repos/stats/participation"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

  Scenario: Punch Card

    Given I want punch_card resources
      And I pass the following request options:
        | user         | repo   |
        | peter-murach | github |
    When I make request within a cassette named "repos/stats/punch"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
github_api-0.11.3 features/repos/statistics.feature
github_api-0.11.2 features/repos/statistics.feature
github_api-0.11.1 features/repos/statistics.feature
github_api-0.11.0 features/repos/statistics.feature
github_api-0.10.2 features/repos/statistics.feature
github_api-0.10.1 features/repos/statistics.feature
github_api-0.10.0 features/repos/statistics.feature