Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- When /^(?:|I )fill in "([^"]*)" with "([^"]*)"(?: within "([^"]*)")?$/ do |field, value, selector|
- with_scope(selector) do
- fill_in(field, :with => value)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement