提交 511d6b93 编写于 作者: P Phil Hughes

Tests update

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册