Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
511d6b93
Commit
511d6b93
authored
Oct 12, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests update
parent
eca7ccc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
spec/features/todos/todos_spec.rb
spec/features/todos/todos_spec.rb
+5
-5
No files found.
spec/features/todos/todos_spec.rb
View file @
511d6b93
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment