Sha256: 6aed6910b31a0b4f78b6232f7d80f13725d8a80f3bd4f274f5d53a327f80d18c

Contents?: true

Size: 1.47 KB

Versions: 29

Compression:

Stored size: 1.47 KB

Contents

Feature: Search API

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

  Scenario: Issues

    Given I want issues resource
      And I pass the following request options:
        | owner        | repo   | state  | keyword |
        | peter-murach | github | closed | api     |
    When I make request within a cassette named "search/issues"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

  Scenario: Repositories

    Given I want repositories resource
      And I pass the following request options:
        | keyword |
        | rails   |
    When I make request within a cassette named "search/repos"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

  Scenario: Users

    Given I want users resource
      And I pass the following request options:
        | keyword |
        | wycats  |
    When I make request within a cassette named "search/users"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

  Scenario: Email

    Given I want email resource
      And I pass the following request options:
        | email            |
        | wycats@gmail.com |
    When I make request within a cassette named "search/email"
    Then the response status should be 200
      And the response type should be JSON
      And the response should not be empty

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
github_api-0.9.7 features/search.feature
github_api-0.9.6 features/search.feature
github_api-0.9.5 features/search.feature
github_api-0.9.4 features/search.feature
github_api-0.9.3 features/search.feature
github_api-0.9.2 features/search.feature
github_api-0.9.1 features/search.feature
github_api-0.9.0 features/search.feature
github_api-0.8.11 features/search.feature
github_api-0.8.10 features/search.feature
github_api-0.8.9 features/search.feature
github_api-0.8.8 features/search.feature
github_api-0.8.7 features/search.feature
github_api-0.8.6 features/search.feature
github_api-0.8.5 features/search.feature
github_api-0.8.4 features/search.feature
github_api-0.8.3 features/search.feature
github_api-0.8.2 features/search.feature
github_api-0.8.1 features/search.feature
github_api-0.8.0 features/search.feature