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

- old
+ new

@@ -30,11 +30,11 @@ Scenario: Create an member action with if clause that returns true Given a configuration of: """ ActiveAdmin.register Post do - action_item :embiggen, :if => proc{ !current_active_admin_user.nil? } do + action_item :embiggen, if: proc{ !current_active_admin_user.nil? } do link_to "Embiggen", '/' end end """ When I am on the index page for posts @@ -52,10 +52,10 @@ Scenario: Create an member action with if clause that returns false Given a configuration of: """ ActiveAdmin.register Post do - action_item :embiggen, :if => proc{ current_active_admin_user.nil? } do + action_item :embiggen, if: proc{ current_active_admin_user.nil? } do link_to "Embiggen", '/' end end """ When I am on the index page for posts