File: rendering_navigation_spec.rb

package info (click to toggle)
ruby-simple-navigation 4.0.3-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 488 kB
  • ctags: 255
  • sloc: ruby: 3,693; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 307 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
RSpec.feature 'Rendering navigation' do
  background do
    SimpleNavigation.set_env(RailsApp::Application.root, 'test')
  end

  scenario 'Rendering basic navigation', type: :feature do
    visit '/base_spec'

    expect(page).to have_content('Item 1')
    expect(page).to have_content('Item 2')
  end
end