This instance will be upgraded to Heptapod 0.31.0rc on 2022-05-19 at 11:00 UTC+2 (a few minutes of down time)

Commit 55bd24ab authored by Victor Wu's avatar Victor Wu Committed by Annabel Dunstone Gray
Browse files

Resolve ""To do" should be "Todos" on Todos list page"

parent 72b398365832
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
%li.todos-pending{ class: active_when(params[:state].blank? || params[:state] == 'pending') }> %li.todos-pending{ class: active_when(params[:state].blank? || params[:state] == 'pending') }>
= link_to todos_filter_path(state: 'pending') do = link_to todos_filter_path(state: 'pending') do
%span %span
To do Todos
%span.badge %span.badge
= number_with_delimiter(todos_pending_count) = number_with_delimiter(todos_pending_count)
%li.todos-done{ class: active_when(params[:state] == 'done') }> %li.todos-done{ class: active_when(params[:state] == 'done') }>
......
---
title: Todos spelled correctly on Todos list page
merge_request: 15015
author:
type: changed
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
end end
it 'updates todo count' do 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' expect(page).to have_content 'Done 1'
end end
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
end end
it 'updates todo count' do 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' expect(page).to have_content 'Done 0'
end end
end end
...@@ -200,7 +200,7 @@ ...@@ -200,7 +200,7 @@
end end
it 'updates todo count' do 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' expect(page).to have_content 'Done 0'
end end
end end
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
end end
it 'shows "All done" message!' do 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).to have_content "You're all done!"
expect(page).not_to have_selector('.gl-pagination') expect(page).not_to have_selector('.gl-pagination')
end end
...@@ -283,7 +283,7 @@ ...@@ -283,7 +283,7 @@
it 'updates todo count' do it 'updates todo count' do
mark_all_and_undo 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' expect(page).to have_content 'Done 0'
end end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment