Sha256: 41d2ef67cae27588d689eb9180cf8b50440a046c1d2e9716b34e691dee1341ed
Contents?: true
Size: 480 Bytes
Versions: 24
Compression:
Stored size: 480 Bytes
Contents
require 'spec_helper' feature "Menu" do scenario "Shows default menu" do sign_in menu_should_not_have_link "Sessions" end scenario "Shows menu for extra resources" do sign_in menu_should_have_link "Blogs" end def menu_should_have_link(link_name) within ".js-menu" do page.should have_link link_name end end def menu_should_not_have_link(link_name) within ".js-menu" do page.should have_no_link link_name end end end
Version data entries
24 entries across 24 versions & 1 rubygems