diff options
| author | Fatih Acet <acetfatih@gmail.com> | 2016-11-01 15:57:44 +0000 |
|---|---|---|
| committer | Fatih Acet <acetfatih@gmail.com> | 2016-11-01 15:57:44 +0000 |
| commit | b58d7ceaf503fcc3725abc6f7b671edd89fbb9c3 (patch) | |
| tree | b8306baf931dc37dc5f6d7175c1d6ecb4024fcbe /spec/features | |
| parent | aba94f65f039908d14643f3854e3c2901ff843aa (diff) | |
| parent | edfa02d3cb235ae1661267b78c00d53c8264cd0e (diff) | |
| download | gitlab-ce-b58d7ceaf503fcc3725abc6f7b671edd89fbb9c3.tar.gz | |
Merge branch 'todos-empty-state' into 'master'
New todos blank state
## What does this MR do?
Updates the blank state on todos.
### Blank state when user has previously had todos

### Fully empty blank state

## What are the relevant issue numbers?
Closes #20833
See merge request !6823
Diffstat (limited to 'spec/features')
| -rw-r--r-- | spec/features/todos/todos_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/todos/todos_spec.rb b/spec/features/todos/todos_spec.rb index 230543cd175..3ae83ac082d 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 @@ -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 |
