Created
August 13, 2012 15:50
-
-
Save woodybrood/3342093 to your computer and use it in GitHub Desktop.
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
Then /^I should see a Result of (\d+)$/ do |result| | |
actual = query("textField marked:'Results'", :text) | |
actual[0].should == result | |
end | |
When /^I enter (\d+)$/ do |value| | |
value.each_char do |number| | |
macro %Q[I touch the "#{number}button" button] | |
end | |
macro 'I touch the "Enter" button' | |
end | |
When /^I tap \*$/ do | |
macro 'I touch the "*button" button' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment