Created
March 9, 2012 02:00
-
-
Save knewter/2004594 to your computer and use it in GitHub Desktop.
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 select classification "([^"]*)"$/ do |classification| | |
facet_link(classification).click | |
end | |
When /^I expand classification "([^"]*)"$/ do |classification| | |
facet_hitarea_element(classification).click | |
end | |
Then /^I should have classification "([^"]*)" applied$/ do |classification| | |
classification_filter(classification).text.should_not == "" | |
end | |
When /^I remove classification "([^"]*)"$/ do |classification| | |
classification_filter_remove_link(classification).click | |
end | |
Then /^I should not have classification "([^"]*)" applied$/ do |classification| | |
classification_filter(classification).should be_nil | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment