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
6eb19232
Commit
6eb19232
authored
Jul 30, 2019
by
Sean McGivern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix milestone view specs
parent
4d90aa83
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
app/views/shared/milestones/_top.html.haml
app/views/shared/milestones/_top.html.haml
+1
-1
spec/views/shared/milestones/_issuables.html.haml_spec.rb
spec/views/shared/milestones/_issuables.html.haml_spec.rb
+1
-1
spec/views/shared/milestones/_top.html.haml_spec.rb
spec/views/shared/milestones/_top.html.haml_spec.rb
+1
-0
No files found.
app/views/shared/milestones/_top.html.haml
View file @
6eb19232
...
...
@@ -53,7 +53,7 @@
-
close_msg
=
group
?
'You may close the milestone now.'
:
'Navigate to the project to close the milestone.'
%span
All issues for this milestone are closed.
#{
close_msg
}
=
render_if_exists
'shared/milestones/burndown'
,
milestone:
@
milestone
,
project:
@project
=
render_if_exists
'shared/milestones/burndown'
,
milestone:
milestone
,
project:
@project
-
if
is_dynamic_milestone
.table-holder
...
...
spec/views/shared/milestones/_issuables.html.haml_spec.rb
View file @
6eb19232
...
...
@@ -6,7 +6,7 @@ describe 'shared/milestones/_issuables.html.haml' do
before
do
allow
(
view
).
to
receive_messages
(
title:
nil
,
id:
nil
,
show_project_name:
nil
,
show_full_project_name:
nil
,
dom_class:
''
,
issuables:
double
(
size
:
issuables_size
).
as_null_object
)
issuables:
double
(
length
:
issuables_size
).
as_null_object
)
stub_template
'shared/milestones/_issuable.html.haml'
=>
''
end
...
...
spec/views/shared/milestones/_top.html.haml_spec.rb
View file @
6eb19232
...
...
@@ -7,6 +7,7 @@ describe 'shared/milestones/_top.html.haml' do
before
do
allow
(
milestone
).
to
receive
(
:milestones
)
{
[]
}
allow
(
milestone
).
to
receive
(
:milestone
)
{
milestone
}
end
it
'renders a deprecation message for a legacy milestone'
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