Sha256: 0b9115377a4c85d900d4411704a67441c9f2ddc75c5eb230eaa11b823c8cee09

Contents?: true

Size: 515 Bytes

Versions: 7

Compression:

Stored size: 515 Bytes

Contents

Feature: Index Pagination

  Background:
    Given an index configuration of:
    """
      ActiveAdmin.register Post
    """
  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

7 entries across 7 versions & 3 rubygems

Version Path
andrewroth_activeadmin-0.3.4 features/index/pagination.feature
activeadmin-0.3.4 features/index/pagination.feature
activeadmin-0.3.3 features/index/pagination.feature
activeadmin-0.3.2 features/index/pagination.feature
activeadmin-0.3.1 features/index/pagination.feature
activeadmin-0.3.0 features/index/pagination.feature
nsm-activeadmin-0.2.2 features/index/pagination.feature