Sha256: afd7042e418a65efc3a33ee11f420a759cde65f3ac13927ef7b7ce3451202fcf

Contents?: true

Size: 944 Bytes

Versions: 4

Compression:

Stored size: 944 Bytes

Contents

Feature: Forks API

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

  Scenario: List

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

  Scenario: List with sort

    Given I want to list resources with the following params:
      | user         | repo   |
      | peter-murach | github |
    And I pass the following request options:
      | sort   |
      | oldest |
    When I make request within a cassette named "repos/forks/list_sort"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty
      And the response first item created_at should be 2011-12-16T17:06:03Z

Version data entries

4 entries across 4 versions & 1 rubygems

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