summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorVictor Wu <victor@gitlab.com>2017-11-03 00:01:56 +0000
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-11-03 00:01:56 +0000
commit55bd24ab4f1910f4cb76e28e3cc674c67c6cf191 (patch)
tree0b9637082d0b37d53dc11c8f172f43fd4a303261 /spec/features
parent4154fa28e948532f15e00b0094e9fc83545a6865 (diff)
downloadgitlab-ce-55bd24ab4f1910f4cb76e28e3cc674c67c6cf191.tar.gz
Resolve ""To do" should be "Todos" on Todos list page"
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/dashboard/todos/todos_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/features/dashboard/todos/todos_spec.rb b/spec/features/dashboard/todos/todos_spec.rb
index 01aca443f4a..39ac68af493 100644
--- a/spec/features/dashboard/todos/todos_spec.rb
+++ b/spec/features/dashboard/todos/todos_spec.rb
@@ -52,7 +52,7 @@ feature 'Dashboard Todos' do
end
it 'updates todo count' do
- expect(page).to have_content 'To do 0'
+ expect(page).to have_content 'Todos 0'
expect(page).to have_content 'Done 1'
end
@@ -81,7 +81,7 @@ feature 'Dashboard Todos' do
end
it 'updates todo count' do
- expect(page).to have_content 'To do 1'
+ expect(page).to have_content 'Todos 1'
expect(page).to have_content 'Done 0'
end
end
@@ -200,7 +200,7 @@ feature 'Dashboard Todos' do
end
it 'updates todo count' do
- expect(page).to have_content 'To do 1'
+ expect(page).to have_content 'Todos 1'
expect(page).to have_content 'Done 0'
end
end
@@ -256,7 +256,7 @@ feature 'Dashboard Todos' do
end
it 'shows "All done" message!' do
- expect(page).to have_content 'To do 0'
+ expect(page).to have_content 'Todos 0'
expect(page).to have_content "You're all done!"
expect(page).not_to have_selector('.gl-pagination')
end
@@ -283,7 +283,7 @@ feature 'Dashboard Todos' do
it 'updates todo count' do
mark_all_and_undo
- expect(page).to have_content 'To do 2'
+ expect(page).to have_content 'Todos 2'
expect(page).to have_content 'Done 0'
end