Sha256: ee648a56fe8db4eb74ebe1d93f0eb7950ed2431312e18c5ac3411ba8d341b958
Contents?: true
Size: 476 Bytes
Versions: 37
Compression:
Stored size: 476 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 "#menu" do page.should have_link link_name end end def menu_should_not_have_link(link_name) within "#menu" do page.should have_no_link link_name end end end
Version data entries
37 entries across 37 versions & 2 rubygems