Sha256: 8c6b23e05dbc50ec92d9edb7f2bae8dd12a81cdede42363600053c445e8d53cc

Contents?: true

Size: 1.17 KB

Versions: 2

Compression:

Stored size: 1.17 KB

Contents

Feature: Accessing Repos Main API
  In order to interact with github repositories
  GithubAPI gem
  Should return the expected results depending on passed parameters

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

  Scenario: Returning all repository branches
    When I am looking for "branches" with the following params:
      | user          | repo   |
      | peter-murach  | github |
      And I make request within a cassette named "repos/branches"
    Then the response should be "200"
      And the response type should be "JSON"

  Scenario: Returning all repository tags
    When I am looking for "tags" with the following params:
      | user          | repo   |
      | peter-murach  | github |
      And I make request within a cassette named "repos/tags"
    Then the response should be "200"
      And the response type should be "JSON"

  Scenario: Returning all repositories for the user
    When I want to list resources
      And I pass the following request options:
        | user          |
        | peter-murach  |
      And I make request within a cassette named "repos/list"
    Then the response should be "200"
      And the response type should be "JSON"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github_api-0.5.0 features/repos.feature
github_api-0.5.0.rc1 features/repos.feature