features/menu.feature in activeadmin-1.0.0.pre4 vs features/menu.feature in activeadmin-1.0.0.pre5

- old
+ new

@@ -15,11 +15,11 @@ Scenario: Set the menu item label Given a configuration of: """ ActiveAdmin.register Post do - menu :label => "Articles" + 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" @@ -27,11 +27,11 @@ Scenario: Add a non-resource menu item Given a configuration of: """ ActiveAdmin.application.namespace :admin do |admin| admin.build_menu do |menu| - menu.add :label => "Custom Menu", :url => :admin_dashboard_path + menu.add label: "Custom Menu", url: :admin_dashboard_path end end """ When I am on the dashboard Then I should see a menu item for "Custom Menu" @@ -41,10 +41,10 @@ Scenario: Adding a resource as a sub menu item Given a configuration of: """ ActiveAdmin.register User ActiveAdmin.register Post do - menu :parent => 'User' + menu parent: 'User' end """ When I am on the dashboard Then I should see a menu item for "Users" When I follow "Users"