Remove todos count tests in nav
This commit is contained in:
parent
ffbd9cd02d
commit
ca985283b4
|
@ -26,7 +26,6 @@ class Spinach::Features::DashboardTodos < Spinach::FeatureSteps
|
|||
end
|
||||
|
||||
step 'I should see todos assigned to me' do
|
||||
page.within('.nav-sidebar') { expect(page).to have_content 'Todos 4' }
|
||||
expect(page).to have_content 'To do 4'
|
||||
expect(page).to have_content 'Done 0'
|
||||
|
||||
|
@ -42,7 +41,6 @@ class Spinach::Features::DashboardTodos < Spinach::FeatureSteps
|
|||
click_link 'Done'
|
||||
end
|
||||
|
||||
page.within('.nav-sidebar') { expect(page).to have_content 'Todos 3' }
|
||||
expect(page).to have_content 'To do 3'
|
||||
expect(page).to have_content 'Done 1'
|
||||
should_not_see_todo "John Doe assigned you merge request #{merge_request.to_reference}"
|
||||
|
|
Loading…
Reference in New Issue