integration/features/step_definitions/autocomplete_steps.rb in rails3-jquery-autocomplete-0.7.0 vs integration/features/step_definitions/autocomplete_steps.rb in rails3-jquery-autocomplete-0.7.1

- old
+ new

@@ -5,6 +5,11 @@ And /^I send (.*) to "(.*)"$/ do |key, element| find_field(element).native.send_keys(key) end +Given /^the "([^"]*)" brand has an address$/ do |brand_name| + brand = Brand.find_by_name(brand_name) + brand.address = Address.create + brand.save! +end