Sha256: a7fccf5e728f9b299c0b2c3ec0fbaf28052fd0094293692d18f897f9d33c194c
Contents?: true
Size: 492 Bytes
Versions: 21
Compression:
Stored size: 492 Bytes
Contents
Then /^I should see a sidebar titled "([^"]*)"$/ do |title| expect(page).to have_css '.sidebar_section h3', text: title end Then /^I should not see a sidebar titled "([^"]*)"$/ do |title| expect(page).not_to have_css '.sidebar_section h3', text: title end Then(/^I should see a sidebar titled "(.*?)" above sidebar titled "(.*?)"$/) do |top_title, bottom_title| expect(page).to have_css %Q(.sidebar_section:contains('#{top_title}') + .sidebar_section:contains('#{bottom_title}')) end
Version data entries
21 entries across 21 versions & 4 rubygems