Sha256: 86fe2a6662e4ada047edcbf8fe2b56e7b32da08db8dd2b3d059ae00d7de7080d

Contents?: true

Size: 1.35 KB

Versions: 2

Compression:

Stored size: 1.35 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: Links
    When I connect to the API
    Then I should be able to paginate posts
    Then I should be able to paginate 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: Templated links with multiple values
    Given I connect to the API
    When I search for posts by tag with a templated link
    Then the API should receive the request for posts by tag 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-2.0.0 features/api_navigation.feature
hyperclient-1.0.1 features/api_navigation.feature