Sha256: d48284364747cab617816868a94bc86eacdbe0ecc7d128a639cdf1f2af59efc1

Contents?: true

Size: 575 Bytes

Versions: 6

Compression:

Stored size: 575 Bytes

Contents

Feature: Menu

  Background:
    Given I am logged in

  Scenario: Hide the menu item
    Given a configuration of:
    """
      ActiveAdmin.register Post do
        menu false
      end
    """
    When I am on the dashboard
    Then I should not see a menu item for "Posts"

  @wip
  Scenario: Set the menu item label
    Given a configuration of:
    """
      ActiveAdmin.register Post do
        menu :label => "Articles"
      end
    """
    When I am on the dashboard
    Then I should see a menu item for "Articles"
    And I should not see a menu item for "Posts"

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
activeadmin-0.3.1 features/menu.feature
activeadmin-0.3.0 features/menu.feature
nsm-activeadmin-0.2.2 features/menu.feature
saulolso-activeadmin-0.2.2.1 features/menu.feature
saulolso-activeadmin-0.2.2 features/menu.feature
activeadmin-0.2.2 features/menu.feature