Sha256: 8e6325717c60db5613825d33872c61e070b759d028a8526e63feb5227a277467

Contents?: true

Size: 478 Bytes

Versions: 108

Compression:

Stored size: 478 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

108 entries across 108 versions & 10 rubygems

Version Path
activeadmin_addons-1.1.2 vendor/bundle/ruby/2.3.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/index/index_as_block.feature
activeadmin_addons-1.1.1 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/index/index_as_block.feature
yousty-activeadmin-1.0.17.pre features/index/index_as_block.feature
yousty-activeadmin-1.0.16.pre features/index/index_as_block.feature
activeadmin_addons-1.1.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/index/index_as_block.feature
activeadmin_addons-1.0.1 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/index/index_as_block.feature
activeadmin_addons-1.0.0 vendor/bundle/ruby/2.2.0/bundler/gems/activeadmin-a5a53c3f2b8f/features/index/index_as_block.feature
yousty-activeadmin-1.0.15.pre features/index/index_as_block.feature
activeadmin-orac-1.0.0.pre4 features/index/index_as_block.feature
activeadmin-orac-1.0.0 features/index/index_as_block.feature
activeadmin-orac-1.0.0.pre.orac features/index/index_as_block.feature
yousty-activeadmin-1.0.14.pre features/index/index_as_block.feature
yousty-activeadmin-1.0.13.pre features/index/index_as_block.feature
yousty-activeadmin-1.0.12.pre features/index/index_as_block.feature
yousty-activeadmin-1.0.11.pre features/index/index_as_block.feature
yousty-activeadmin-1.0.10.pre features/index/index_as_block.feature
yousty-activeadmin-1.0.9.pre features/index/index_as_block.feature
yousty-activeadmin-1.0.8.pre features/index/index_as_block.feature
activeadmin-1.0.0.pre4 features/index/index_as_block.feature
activeadmin-1.0.0.pre3 features/index/index_as_block.feature