From 19f4fe295d032476ecfc4b1a5727b0a432e61f24 Mon Sep 17 00:00:00 2001 From: "M. Scott Ford" Date: Fri, 12 Aug 2011 23:51:34 -0400 Subject: [PATCH] Illustrated that the reverse has many feature is also having the same problem. --- features/admin/content_types/has_many_reverse.feature | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/features/admin/content_types/has_many_reverse.feature b/features/admin/content_types/has_many_reverse.feature index 5850752c..a0f01c04 100644 --- a/features/admin/content_types/has_many_reverse.feature +++ b/features/admin/content_types/has_many_reverse.feature @@ -44,6 +44,12 @@ Scenario: I attach already created items for an existing parent and save it When I press "Save" And I wait until the has many selector is visible Then "My sexy project" should not be an option for "label" + When I go to the "Clients" model list page + And I follow "Apple Inc" + And I wait until the has many selector is visible + Then "My sexy project" should not be an option for "label" + And I should not see "Empty" within the list of items + @javascript Scenario: I create a new item and attach it @@ -59,3 +65,8 @@ Scenario: I create a new item and attach it When I wait until the has many selector is visible Then I should see "iPad" And "iPad" should not be an option for "label" + When I go to the "Clients" model list page + And I follow "Apple Inc" + And I wait until the has many selector is visible + Then "iPad" should not be an option for "label" + And I should not see "Empty" within the list of items