Sha256: e0d1a77f3f5c2bca0df8a53a345699170f326c49f59dcaaa57860be63251bdfc
Contents?: true
Size: 468 Bytes
Versions: 5
Compression:
Stored size: 468 Bytes
Contents
Then /^I should see a sidebar titled "([^"]*)"$/ do |title| Then %{I should see "#{title}" within ".sidebar_section h3"} end Then /^I should not see a sidebar titled "([^"]*)"$/ do |title| page.all(:css, "##{title.gsub(" ", '').underscore}_sidebar_section").count.should == 0 end Then /^I should see \/([^\/]*)\/ within the sidebar "([^"]*)"$/ do |regexp, title| Then %{I should see /#{regexp}/ within "##{title.gsub(" ", '').underscore}_sidebar_section"} end
Version data entries
5 entries across 5 versions & 2 rubygems