Merge pull request #58 from NobodysNightmare/feature/fix_menu_spec

Fix menu specs
pull/6827/head
Florian Kraft 10 years ago
commit 840135818c
  1. 4
      spec/features/menu_spec.rb

@ -67,7 +67,7 @@ describe 'project menu', type: :feature do
it 'leads to cost reports' do
click_on 'Cost Reports'
expect(page).to have_selector('h1', text: 'HomePonyoCost Reports')
expect(page).to have_selector('.breadcrumb', text: 'HomePonyoCost Reports')
end
end
@ -96,7 +96,7 @@ describe 'project menu', type: :feature do
click_on 'Cost Reports'
end
expect(page).to have_selector('h1', text: 'Cost Reports')
expect(page).to have_selector('.breadcrumb', text: 'Cost Reports')
# to make sure we're not seeing the project cost reports:
expect(page).not_to have_text('Ponyo')

Loading…
Cancel
Save