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
2ca2e062
Commit
2ca2e062
authored
Feb 24, 2017
by
Pedro Moreira da Silva
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix specs
parent
3a1fff9c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/features/milestone_spec.rb
spec/features/milestone_spec.rb
+1
-1
spec/helpers/milestones_helper_spec.rb
spec/helpers/milestones_helper_spec.rb
+1
-1
No files found.
spec/features/milestone_spec.rb
View file @
2ca2e062
...
...
@@ -24,7 +24,7 @@ feature 'Milestone', feature: true do
find
(
'input[name="commit"]'
).
click
expect
(
find
(
'.alert-success'
)).
to
have_content
(
'Assign some issues to this milestone.'
)
expect
(
page
).
to
have_content
(
'Nov 16, 2016
-
Dec 16, 2016'
)
expect
(
page
).
to
have_content
(
'Nov 16, 2016
–
Dec 16, 2016'
)
end
end
...
...
spec/helpers/milestones_helper_spec.rb
View file @
2ca2e062
...
...
@@ -17,7 +17,7 @@ describe MilestonesHelper do
it
{
expect
(
result_for
(
due_date:
yesterday
)).
to
eq
(
"expired on
#{
yesterday_formatted
}
"
)
}
it
{
expect
(
result_for
(
start_date:
tomorrow
)).
to
eq
(
"starts on
#{
tomorrow_formatted
}
"
)
}
it
{
expect
(
result_for
(
start_date:
yesterday
)).
to
eq
(
"started on
#{
yesterday_formatted
}
"
)
}
it
{
expect
(
result_for
(
start_date:
yesterday
,
due_date:
tomorrow
)).
to
eq
(
"
#{
yesterday_formatted
}
-
#{
tomorrow_formatted
}
"
)
}
it
{
expect
(
result_for
(
start_date:
yesterday
,
due_date:
tomorrow
)).
to
eq
(
"
#{
yesterday_formatted
}
–
#{
tomorrow_formatted
}
"
)
}
end
describe
'#milestone_counts'
do
...
...
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