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
d547754e
Commit
d547754e
authored
Apr 06, 2017
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec for LFS downloader
parent
1be91c2e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/lib/gitlab/geo/lfs_downloader_spec.rb
spec/lib/gitlab/geo/lfs_downloader_spec.rb
+2
-2
No files found.
spec/lib/gitlab/geo/lfs_downloader_spec.rb
View file @
d547754e
...
@@ -4,7 +4,7 @@ describe Gitlab::Geo::LfsDownloader do
...
@@ -4,7 +4,7 @@ describe Gitlab::Geo::LfsDownloader do
let
(
:lfs_object
)
{
create
(
:lfs_object
)
}
let
(
:lfs_object
)
{
create
(
:lfs_object
)
}
subject
do
subject
do
described_class
.
new
(
lfs_object
.
id
)
described_class
.
new
(
:lfs
,
lfs_object
.
id
)
end
end
context
'#download_from_primary'
do
context
'#download_from_primary'
do
...
@@ -16,7 +16,7 @@ describe Gitlab::Geo::LfsDownloader do
...
@@ -16,7 +16,7 @@ describe Gitlab::Geo::LfsDownloader do
end
end
it
'with unknown LFS object'
do
it
'with unknown LFS object'
do
expect
(
described_class
.
new
(
10000
)).
not_to
receive
(
:download_from_primary
)
expect
(
described_class
.
new
(
:lfs
,
10000
)).
not_to
receive
(
:download_from_primary
)
expect
(
subject
.
execute
).
to
be_nil
expect
(
subject
.
execute
).
to
be_nil
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