Sha256: 2f284a17f139003610663c08e33f9ac0ff3a7049028d4ac9cbea7fa2e307c44b

Contents?: true

Size: 640 Bytes

Versions: 4

Compression:

Stored size: 640 Bytes

Contents

Feature: Ratelimit API

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

  Scenario: Get ratelimit

    Given I want to ratelimit resource
    When I make request within a cassette named "ratelimit/get"
    Then the response should be 5000

  Scenario: Get ratelimit remaining

    Given I want to ratelimit_remaining resource
    When I make request within a cassette named "ratelimit/get_remaining"
    Then the response should be 4886

  Scenario: Get ratelimit reset time

    Given I want to ratelimit_reset resource
    When I make request within a cassette named "ratelimit/get_reset"
    Then the response should be 1398097303

Version data entries

4 entries across 4 versions & 1 rubygems

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