Skip to content

Instantly share code, notes, and snippets.

@jarib
Created October 24, 2009 16:47
Show Gist options
  • Save jarib/217622 to your computer and use it in GitHub Desktop.
Save jarib/217622 to your computer and use it in GitHub Desktop.
When /^I search for "(.+?)"$/ do |keyword|
@site.action_for(context.vertical, context.sub_vertical, context.search_type).search keyword
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment