Sha256: 3d7eef8a0851669427acf1f5f04bfbfd92f866e92c67e56b515cadf87f9aa075

Contents?: true

Size: 464 Bytes

Versions: 5

Compression:

Stored size: 464 Bytes

Contents

Feature: Index as Block

  Viewing the resource as a block which is renderered by the user

  Scenario: Viewing the index as a block
    Given a post with the title "Hello World from Block" exists
    And an index configuration of:
      """
      ActiveAdmin.register Post do
        index :as => :block do |post|
          span(link_to(post.title, admin_post_path(post)))
        end
      end
      """
    Then I should see "Hello World from Block" within "a"

Version data entries

5 entries across 5 versions & 2 rubygems

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