public
Created

  • Download Gist
gistfile1.feature
Cucumber
1 2 3 4 5 6
When /^I "([^"]*)" the location "([^"]*)" to "([^"]*)"$/ do |button, field, value|
visit(location_path(Location.first, :locale => I18n.locale.to_s))
click_link "Edit"
fill_in(field, :with => value)
click_button(button)
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.