Sha256: c4d681660a881f4ad61892643aa3166e828124cf24a3ccbc860b250e09c37b3c

Contents?: true

Size: 1.25 KB

Versions: 4

Compression:

Stored size: 1.25 KB

Contents

Feature: Commits API

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

  Scenario: List

    Given I want to list resources with the following params:
      | user         | repo           |
      | peter-murach | finite_machine |
    When I make request within a cassette named "repos/commits/list"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

  Scenario: Get

    Given I want get resource with the following params:
      | user         | repo           | sha                                      |
      | peter-murach | finite_machine | 0755d7f473b76c691044cc2e57b60986f81fbb9a |
    When I make request within a cassette named "repos/commits/get"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

  Scenario: Compare

    Given I want compare resource with the following params:
      | user         | repo   | base   | head    |
      | peter-murach | github | master | new_dsl |
    When I make request within a cassette named "repos/commits/compare"
    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/commits.feature
github_api-0.12.2 features/repos/commits.feature
github_api-0.12.1 features/repos/commits.feature
github_api-0.12.0 features/repos/commits.feature