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
c662ec7b
Commit
c662ec7b
authored
Jan 08, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
7f17e99c
49f538c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
spec/features/projects/files/user_browses_lfs_files_spec.rb
spec/features/projects/files/user_browses_lfs_files_spec.rb
+3
-1
No files found.
spec/features/projects/files/user_browses_lfs_files_spec.rb
View file @
c662ec7b
...
@@ -12,6 +12,7 @@ describe 'Projects > Files > User browses LFS files' do
...
@@ -12,6 +12,7 @@ describe 'Projects > Files > User browses LFS files' do
before
do
before
do
allow_any_instance_of
(
Project
).
to
receive
(
:lfs_enabled?
).
and_return
(
false
)
allow_any_instance_of
(
Project
).
to
receive
(
:lfs_enabled?
).
and_return
(
false
)
visit
project_tree_path
(
project
,
'lfs'
)
visit
project_tree_path
(
project
,
'lfs'
)
wait_for_requests
end
end
it
'is possible to see raw content of LFS pointer'
do
it
'is possible to see raw content of LFS pointer'
do
...
@@ -26,10 +27,11 @@ describe 'Projects > Files > User browses LFS files' do
...
@@ -26,10 +27,11 @@ describe 'Projects > Files > User browses LFS files' do
end
end
end
end
context
'when LFS is enabled'
do
context
'when LFS is enabled'
,
:js
do
before
do
before
do
allow_any_instance_of
(
Project
).
to
receive
(
:lfs_enabled?
).
and_return
(
true
)
allow_any_instance_of
(
Project
).
to
receive
(
:lfs_enabled?
).
and_return
(
true
)
visit
project_tree_path
(
project
,
'lfs'
)
visit
project_tree_path
(
project
,
'lfs'
)
wait_for_requests
end
end
it
'shows an LFS object'
do
it
'shows an LFS object'
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