Sha256: b31c708b2bc0eb708ee03326594441ba93a3abd7f95cb1d9582a8f988aed3114
Contents?: true
Size: 445 Bytes
Versions: 5
Compression:
Stored size: 445 Bytes
Contents
Given /^a menu configuration of:$/ do |config| eval config end Then /^I should see menu item for "(.*?)" with path "(.*?)"$/ do |name, path| page.should have_css("header.navbar li a[href='#{path}']", text: name) end Then /^I should see group "(.*?)" with menu item for "(.*?)"$/ do |group, name| page.should have_css('header.navbar li.dropdown a', text: group) page.should have_css('header.navbar ul.dropdown-menu a', text: name) end
Version data entries
5 entries across 5 versions & 1 rubygems