Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <ClemMakesApps@gmail.com>2016-08-30 22:20:31 +0300
committerClement Ho <ClemMakesApps@gmail.com>2016-08-31 18:27:04 +0300
commit632899826bbb4d50f8c003b2c1771fa17d89d022 (patch)
tree7a433055f3bfd8b751996c33ea0cf9a8d5269522 /features/steps/dashboard/todos.rb
parent51087cfa1a6b0bb5a7abf35081ed3b669253eb4f (diff)
Fix bug where pagination is still displayed despite all todos marked as done
Diffstat (limited to 'features/steps/dashboard/todos.rb')
-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}"