-
-
Save aslakhellesoy/336106 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
Feature: foo | |
Scenario Outline: Incorrect Search Output | |
When I do an invalid search of: "<keywords>" | |
Then an invalid search result page of "<response>" should not be returned! | |
Examples: | |
| keywords | response | | |
| &^*%$ü%! |'&^*%$%!' could not be interpreted. Please correct the construction and try again. | |
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
When /^I do an invalid search of: "([^\"]*)"$/ do |q| | |
q.should == "&^*%$ü%!" | |
end | |
Then /^an invalid search result page of "([^\"]*)" should not be returned!$/ do |r| | |
r.should == "'&^*%$%!' could not be interpreted. Please correct the construction and try again." | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment