Sha256: 48563034d8c09bf4224e5e72171bb22f407d2d1dd1e712e9829d7f90d6d1f393

Contents?: true

Size: 1.99 KB

Versions: 4

Compression:

Stored size: 1.99 KB

Contents

Feature: Statistics API

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

  Scenario: Contributors

    Given I want contributors resources
      And I pass the following request options:
        | user         | repo   |
        | peter-murach | finite_machine |
    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 | tty |
    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 | finite_machine |
    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

4 entries across 4 versions & 1 rubygems

Version Path
github_api-0.12.3 features/repos/statistics.feature
github_api-0.12.2 features/repos/statistics.feature
github_api-0.12.1 features/repos/statistics.feature
github_api-0.12.0 features/repos/statistics.feature