features/dsl/action_items.feature in ab_admin-0.1.0 vs features/dsl/action_items.feature in ab_admin-0.1.1

- old
+ new

@@ -22,11 +22,11 @@ When I am on the edit admin product page Then I should see action items: | Create | Review | Remove | - When I am on the show admin product page + When I am on the the admin product page Then I should see action items: | Create | Edit | Remove | Scenario: Preview action item Given a configuration of: @@ -45,11 +45,11 @@ action_item do link_to 'Main page', '/' end end """ - When I am on the show admin product page + When I am on the the admin product page Then I should see an action item to "Main page" Scenario: Conditional action item Given a configuration of: """ @@ -57,11 +57,11 @@ action_item :except => :edit, :if => proc { params[:id].present? } do link_to 'Secret link', '/' end end """ - When I am on the show admin product page + When I am on the the admin product page Then I should see an action item to "Secret link" When I am on the edit admin product page Then I should not see an action item to "Secret link" @@ -73,7 +73,7 @@ """ class AbAdminProduct < AbAdmin::AbstractResource action_item :destroy, false end """ - When I am on the show admin product page + When I am on the the admin product page Then I should not see an action item to "Remove"