integration/features/autocomplete.feature in rails3-jquery-autocomplete-0.7.0 vs integration/features/autocomplete.feature in rails3-jquery-autocomplete-0.7.1
- old
+ new
@@ -4,15 +4,15 @@
I want autocomplete!
Background:
Given the following brands exists:
| name | state |
- | Alpha | 1 |
- | Beta | 0 |
- | Gamma | 0 |
- | Kappa | 1 |
- | Kappler | 0 |
+ | Alpha | true |
+ | Beta | false |
+ | Gamma | false |
+ | Kappa | true |
+ | Kappler | false |
And the following features exists:
| name |
| Shiny |
| Glowy |
@@ -64,9 +64,10 @@
And I choose "Alpha" in the autocomplete list
Then the "Brand name" field should contain "Alpha"
@javascript
Scenario: Autocomplete with scope
+ Given the "Kappa" brand has an address
Given I go to the new scoped autocomplete page
And I fill in "Brand name" with "ka"
And I choose "Kappa" in the autocomplete list
Then the "Brand name" field should contain "Kappa"