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
| Given /^the user enters the (right|wrong) password (\d+) times?$/ do |right_or_wrong, num_tries| | |
| num_tries.to_i.times do | |
| puts "Entering %s password" % right_or_wrong | |
| end | |
| end | |
| Then /^a captcha should( NOT|) be displayed$/ do |is_displayed| | |
| #pending("How do we check if captcha is displayed?") | |
| true.should == false | |
| if is_displayed =~ /NOT/ |
NewerOlder