Sha256: 60e108ed2e4a6bcb44b16be4fb67eda92ebaf5ee02028614c68b2a4fb3e9de07
Contents?: true
Size: 454 Bytes
Versions: 7
Compression:
Stored size: 454 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
7 entries across 7 versions & 1 rubygems