features/sti_resource.feature in activeadmin-0.6.6 vs features/sti_resource.feature in activeadmin-1.0.0.pre1

- old
+ new

@@ -4,11 +4,15 @@ Background: Given I am logged in And a configuration of: """ - ActiveAdmin.register Publisher - ActiveAdmin.register User + ActiveAdmin.register Publisher do + permit_params :first_name, :last_name, :username, :age if Rails::VERSION::MAJOR == 4 + end + ActiveAdmin.register User do + permit_params :first_name, :last_name, :username, :age if Rails::VERSION::MAJOR == 4 + end """ Scenario: Create, update and delete a child STI resource Given I am on the index page for publishers When I follow "New Publisher"