Sha256: 7d7184b27c3e398a1360ce21061bc0b6956b1dd24d4c3b9d5ef3ce18bd01d157

Contents?: true

Size: 684 Bytes

Versions: 5

Compression:

Stored size: 684 Bytes

Contents

Feature: Index Pagination

  Background:
    Given an index configuration of:
    """
      ActiveAdmin.register Post
    """

  Scenario: Viewing index when no resources exist
    When I am on the index page for posts
    Then I should see "No Posts found"
    And I should not see pagination

  Scenario: Viewing index when one page of resources exist
    Given 20 posts exist
    When I am on the index page for posts
    Then I should see "Displaying all 20 Posts"
    And I should not see pagination

  Scenario: Viewing index when multiple pages of resources exist
    Given 31 posts exist
    When I am on the index page for posts
    Then I should see pagination with 2 pages

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
saulolso-activeadmin-0.2.2.1 features/index/pagination.feature
saulolso-activeadmin-0.2.2 features/index/pagination.feature
activeadmin-0.2.2 features/index/pagination.feature
activeadmin-0.2.1 features/index/pagination.feature
activeadmin-0.2.0 features/index/pagination.feature