Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 23b5f83a66
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (24 sloc) 0.601 kB
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"
Then show me the page
And I should not see a menu item for "Posts"
Jump to Line
Something went wrong with that request. Please try again.