[ci skip] Fix removed breadcrumb

pull/6827/head
Oliver Günther 6 years ago
parent bceeb05369
commit 7c6d3699aa
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 5
      spec/features/menu_spec.rb

@ -69,8 +69,7 @@ describe 'project menu', type: :feature do
it 'leads to cost reports' do
click_on 'Cost reports'
expect(page).to have_selector('.breadcrumb > li', text: 'Ponyo')
expect(page).to have_selector('.breadcrumb > li', text: 'Cost reports')
expect(page).to have_selector('.button--dropdown-text', text: 'Ponyo')
end
end
@ -100,8 +99,6 @@ describe 'project menu', type: :feature do
click_on 'Cost reports', visible: false
end
expect(page).to have_selector('.breadcrumb > li', text: 'Cost reports')
# to make sure we're not seeing the project cost reports:
expect(page).not_to have_text('Ponyo')
end

Loading…
Cancel
Save