cucumber

Ruby code posted by murphy
created at 22 Jul 12:51

Edit | Back
1
2
3
4
5
When /^(?:|I )fill in "([^"]*)" with "([^"]*)"(?: within "([^"]*)")?$/ do |field, value, selector|
  with_scope(selector) do
    fill_in(field, :with => value)
  end
end
173 Bytes in 2 ms with coderay