Created
March 2, 2015 18:48
-
-
Save jschumann/157279a70a0e5276f235 to your computer and use it in GitHub Desktop.
RSpec, Cucumber, Capybara examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| When /^I fill in "([^"]*)" with "([^"]*)"$/ do |element, text| | |
| fill_in element, with: text | |
| end | |
| When /^I click "([^"]*)"$/ do |element| | |
| click_on element | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment