Skip to content

Instantly share code, notes, and snippets.

@biot023
Created February 3, 2010 20:58
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 biot023/294013 to your computer and use it in GitHub Desktop.
Save biot023/294013 to your computer and use it in GitHub Desktop.
When /^I enter "([^\"]*)"$/ do |value|
find( "//*[@class = 'current']//input" ).set( value )
find( "//*[@class = 'current']//input" ).value.should == value
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment