integration/features/autocomplete.feature in rails3-jquery-autocomplete-0.6.1 vs integration/features/autocomplete.feature in rails3-jquery-autocomplete-0.6.2

- old
+ new

@@ -7,10 +7,14 @@ Given the following brands exists: | name | | Alpha | | Beta | | Gamma | + And the following features exists: + | name | + | Shiny | + | Glowy | @javascript Scenario: Autocomplete Given I go to the home page And I fill in "Brand name" with "al" @@ -41,5 +45,12 @@ And I send al to "Brand name" And I choose "Alpha" in the autocomplete list And I send bet to "Brand name" And I choose "Beta" in the autocomplete list Then the "Brand name" field should contain "Alpha,Beta" + + @javascript + Scenario: Autocomplete for Nested Models + Given I go to the new nested model page + When I send sh to "Feature Name" + And I choose "Shiny" in the autocomplete list + Then the "Feature Name" field should contain "Glowy,Shiny"