Commit 511d6b93 authored by Phil Hughes's avatar Phil Hughes

Tests update

parent eca7ccc2
......@@ -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
......
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