summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-10-12 15:07:48 +0100
committerPhil Hughes <me@iamphill.com>2016-11-01 08:47:27 +0000
commit511d6b9309ba20354c9b9d64be965747cd00873a (patch)
tree897164a0fa766fa083c4324dd8ac6ea5a199ec2c
parenteca7ccc2862c2120a6a71ab07a2b37b5cbdb5df3 (diff)
downloadgitlab-ce-511d6b9309ba20354c9b9d64be965747cd00873a.tar.gz
Tests update
-rw-r--r--spec/features/todos/todos_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/features/todos/todos_spec.rb b/spec/features/todos/todos_spec.rb
index 230543cd175..d30d502746f 100644
--- a/spec/features/todos/todos_spec.rb
+++ b/spec/features/todos/todos_spec.rb
@@ -13,7 +13,7 @@ describe 'Dashboard Todos', feature: true do
visit dashboard_todos_path
end
it 'shows "All done" message' do
- expect(page).to have_content "You're all done!"
+ expect(page).to have_content "Todos let you see what you should do next."
end
end
@@ -44,7 +44,7 @@ describe 'Dashboard Todos', feature: true do
end
it 'shows "All done" message' do
- expect(page).to have_content("You're all done!")
+ expect(page).to have_content("Good job! Looks like you don't have any todos left.")
end
end
@@ -64,7 +64,7 @@ describe 'Dashboard Todos', feature: true do
end
it 'shows "All done" message' do
- expect(page).to have_content("You're all done!")
+ expect(page).to have_content("Good job! Looks like you don't have any todos left.")
end
end
end
@@ -133,7 +133,7 @@ describe 'Dashboard Todos', feature: true do
it 'shows "All done" message!' do
expect(page).to have_content 'To do 0'
- expect(page).to have_content "You're all done!"
+ expect(page).to have_content "Good job! Looks like you don't have any todos left."
expect(page).not_to have_selector('.gl-pagination')
end
end
@@ -152,7 +152,7 @@ describe 'Dashboard Todos', feature: true do
within('.todos-pending-count') { expect(page).to have_content '0' }
expect(page).to have_content 'To do 0'
expect(page).to have_content 'Done 0'
- expect(page).to have_content "You're all done!"
+ expect(page).to have_content "Good job! Looks like you don't have any todos left."
end
end
end