Sha256: 9772cd4e6fdde3f1cead743e2e3b25d36744e625b8042cf39524b21878fe3d34

Contents?: true

Size: 475 Bytes

Versions: 21

Compression:

Stored size: 475 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 ".index_as_block"

Version data entries

21 entries across 21 versions & 4 rubygems

Version Path
activeadmin-rails-1.7.1 features/index/index_as_block.feature
activeadmin-rails-1.7.0 features/index/index_as_block.feature
activeadmin-rb-1.6.0 features/index/index_as_block.feature
activeadmin-rb-1.5.2 features/index/index_as_block.feature
activeadmin-rb-1.5.1 features/index/index_as_block.feature
activeadmin-rb-1.5.0 features/index/index_as_block.feature
activeadmin_addons-1.7.1 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_as_block.feature
activeadmin-rb-1.4.0 features/index/index_as_block.feature
activeadmin_addons-1.7.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_as_block.feature
activeadmin-1.3.1 features/index/index_as_block.feature
activeadmin_addons-1.6.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_as_block.feature
activeadmin_addons-1.5.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_as_block.feature
activeadmin-1.3.0 features/index/index_as_block.feature
activeadmin_addons-1.4.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_as_block.feature
activeadmin_addons-1.3.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_as_block.feature
activeadmin_addons-1.2.0 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-f71b375325eb/features/index/index_as_block.feature
activeadmin-1.2.1 features/index/index_as_block.feature
activeadmin-1.2.0 features/index/index_as_block.feature
activeadmin-1.1.0 features/index/index_as_block.feature
activeadmin-1.0.0 features/index/index_as_block.feature