lib/spreewald/web_steps.rb in spreewald-1.3.0 vs lib/spreewald/web_steps.rb in spreewald-1.3.1
- old
+ new
@@ -492,10 +492,10 @@
# Then I should not see a sidebar element
# Then I should see the Twitter timeline element
#
Then /^I should (not )?see (?:(?:a |an |the )?("[^"]+")|(.*?)) element$/ do |negate, locator_with_quotes, locator_without_quotes|
expectation = negate ? :should_not : :should
- selector = selector_for(locator_with_quotes || locator_without_quotes)
+ selector = _selector_for(locator_with_quotes || locator_without_quotes)
patiently do
page.send(expectation, have_css(selector))
end
end