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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
e001f4b7
Commit
e001f4b7
authored
Dec 11, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed failing tests
parent
dec420fe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
spec/helpers/tree_helper_spec.rb
spec/helpers/tree_helper_spec.rb
+1
-0
spec/views/projects/tree/show.html.haml_spec.rb
spec/views/projects/tree/show.html.haml_spec.rb
+1
-0
No files found.
spec/helpers/tree_helper_spec.rb
View file @
e001f4b7
...
@@ -9,6 +9,7 @@ describe TreeHelper do
...
@@ -9,6 +9,7 @@ describe TreeHelper do
before
do
before
do
@id
=
sha
@id
=
sha
@project
=
project
@project
=
project
@lfs_blobs
=
[]
end
end
it
'displays all entries without a warning'
do
it
'displays all entries without a warning'
do
...
...
spec/views/projects/tree/show.html.haml_spec.rb
View file @
e001f4b7
...
@@ -9,6 +9,7 @@ describe 'projects/tree/show' do
...
@@ -9,6 +9,7 @@ describe 'projects/tree/show' do
before
do
before
do
assign
(
:project
,
project
)
assign
(
:project
,
project
)
assign
(
:repository
,
repository
)
assign
(
:repository
,
repository
)
assign
(
:lfs_blobs
,
[])
allow
(
view
).
to
receive
(
:can?
).
and_return
(
true
)
allow
(
view
).
to
receive
(
:can?
).
and_return
(
true
)
allow
(
view
).
to
receive
(
:can_collaborate_with_project?
).
and_return
(
true
)
allow
(
view
).
to
receive
(
:can_collaborate_with_project?
).
and_return
(
true
)
...
...
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