Sha256: c732b16d0479cdcb2a8bed9b4e2a6bd02bde3b4286c3218f4074dc0dd9d73e86

Contents?: true

Size: 304 Bytes

Versions: 2

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

module Capybara
  module ActiveAdmin
    module Actions
      module Layout
        def click_action_item(title, options = {})
          within(action_items_container_selector) do
            click_link(title, options)
          end
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capybara_active_admin-0.2.1 lib/capybara/active_admin/actions/layout.rb
capybara_active_admin-0.2.0 lib/capybara/active_admin/actions/layout.rb