Sha256: 6ffebcd9acb8eb691a770225494862162b0ba0ef3ef41c1d053ab4be045f0913

Contents?: true

Size: 1 KB

Versions: 2

Compression:

Stored size: 1 KB

Contents

Feature: API navigation
  In order to get the data from my API
  As a user
  I want to navigate through the API

  Scenario: Links
    When I connect to the API
    Then I should be able to navigate to posts and authors

  Scenario: Templated links
    Given I connect to the API
    When I search for a post with a templated link
    Then the API should receive the request with all the params

  Scenario: Attributes
    Given I connect to the API
    When I load a single post
    Then I should be able to access it's title and body

  Scenario: Embedded resources
    Given I connect to the API
    When I load a single post
    Then I should also be able to access it's embedded comments

  Scenario: Navigation links
    When I connect to the API
    Then I should be able to navigate to next page
    Then I should be able to navigate to next page without links

  Scenario: Counts
    When I connect to the API
    Then I should be able to count embedded items
    Then I should be able to iterate over embedded items

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hyperclient-0.8.2 features/api_navigation.feature
hyperclient-0.8.1 features/api_navigation.feature