Skip to content

Instantly share code, notes, and snippets.

@jroes
Created May 5, 2010 01:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jroes/390255 to your computer and use it in GitHub Desktop.
Save jroes/390255 to your computer and use it in GitHub Desktop.
When /^I fill in "([^\"]*)" within "([^\"]*)" with "([^\"]*)"$/ do |field, parent, value|
within(parent) do
fill_in(field, :with => value)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment