Sha256: fbe96720b350eb2d407df02c4f398ff90812048019231dc8cb574e61c699950a

Contents?: true

Size: 260 Bytes

Versions: 37

Compression:

Stored size: 260 Bytes

Contents

require 'spec_helper'

feature "Menu" do

  scenario "Shows menu for extra resources" do
    sign_in
    menu_should_have_link "Pages"
  end

  def menu_should_have_link(link_name)
    within "#menu" do
      page.should have_link link_name
    end
  end

end

Version data entries

37 entries across 37 versions & 2 rubygems

Version Path
brightcontent-pages-2.0.33 spec/features/menu_spec.rb
brightcontent-pages-2.0.31 spec/features/menu_spec.rb
brightcontent-pages-2.0.30 spec/features/menu_spec.rb
brightcontent-pages-2.0.29 spec/features/menu_spec.rb
brightcontent-pages-2.0.28 spec/features/menu_spec.rb
brightcontent-pages-2.0.27 spec/features/menu_spec.rb
brightcontent-pages-2.0.26 spec/features/menu_spec.rb
brightcontent-pages-2.0.25 spec/features/menu_spec.rb
brightcontent-pages-2.0.24 spec/features/menu_spec.rb
brightcontent-pages-2.0.23 spec/features/menu_spec.rb
brightcontent-pages-2.0.22 spec/features/menu_spec.rb
brightcontent-pages-2.0.21 spec/features/menu_spec.rb
brightcontent-pages-2.0.20 spec/features/menu_spec.rb
brightcontent-pages-2.0.19 spec/features/menu_spec.rb
brightcontent-pages-2.0.18 spec/features/menu_spec.rb
brightcontent-pages-2.0.17 spec/features/menu_spec.rb
brightcontent-pages-2.0.16 spec/features/menu_spec.rb
brightcontent-pages-2.0.15 spec/features/menu_spec.rb
brightcontent-pages-2.0.14 spec/features/menu_spec.rb
brightcontent-pages-2.0.13 spec/features/menu_spec.rb