Sha256: 646211658a2c96da0256cbd3715dd6b97fe07df41c60d35c227fa0d87ea562c6

Contents?: true

Size: 1.17 KB

Versions: 9

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 am looking for "list_repos"
      And I pass the following request options:
        | user          |
        | peter-murach  |
      And I make request within a cassette named "repos/tags"
    Then the response should be "200"
      And the response type should be "JSON"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
github_api-0.4.11 features/repos.feature
github_api-0.4.10 features/repos.feature
github_api-0.4.9 features/repos.feature
github_api-0.4.8 features/repos.feature
github_api-0.4.7 features/repos.feature
github_api-0.4.6 features/repos.feature
github_api-0.4.5 features/repos.feature
github_api-0.4.4 features/repos.feature
github_api-0.4.3 features/repos.feature