Created
September 18, 2009 14:48
-
-
Save RobertBrewitz/189087 to your computer and use it in GitHub Desktop.
Cucumber step definition
This file contains 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
## | |
# Finds a element with the id flash-#{name} | |
# | |
# Then I should receive flash success; if an element with id flash-success is displayed it passses. | |
## | |
Then /^I should receive flash (.*)$/ do |name| | |
within("[id=flash-#{name}]"){} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment