summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2016-08-30 14:20:31 -0500
committerClement Ho <ClemMakesApps@gmail.com>2016-08-31 10:27:04 -0500
commit632899826bbb4d50f8c003b2c1771fa17d89d022 (patch)
tree7a433055f3bfd8b751996c33ea0cf9a8d5269522 /features
parent51087cfa1a6b0bb5a7abf35081ed3b669253eb4f (diff)
downloadgitlab-ce-632899826bbb4d50f8c003b2c1771fa17d89d022.tar.gz
Fix bug where pagination is still displayed despite all todos marked as done
Diffstat (limited to 'features')
-rw-r--r--features/steps/dashboard/todos.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/features/steps/dashboard/todos.rb b/features/steps/dashboard/todos.rb
index 60152d3da55..0607086c166 100644
--- a/features/steps/dashboard/todos.rb
+++ b/features/steps/dashboard/todos.rb
@@ -54,6 +54,7 @@ class Spinach::Features::DashboardTodos < Spinach::FeatureSteps
page.within('.todos-pending-count') { expect(page).to have_content '0' }
expect(page).to have_content 'To do 0'
expect(page).to have_content 'Done 4'
+ expect(page).to have_content "You're all done!"
expect(page).not_to have_link project.name_with_namespace
should_not_see_todo "John Doe assigned you merge request #{merge_request.to_reference}"
should_not_see_todo "John Doe mentioned you on issue #{issue.to_reference}"