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
49158837
Commit
49158837
authored
Jul 11, 2018
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary tests
parent
d90d623d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
22 deletions
+0
-22
ee/spec/uploaders/job_artifact_uploader_spec.rb
ee/spec/uploaders/job_artifact_uploader_spec.rb
+0
-22
No files found.
ee/spec/uploaders/job_artifact_uploader_spec.rb
deleted
100644 → 0
View file @
d90d623d
require
'spec_helper'
describe
JobArtifactUploader
do
let
(
:store
)
{
ObjectStorage
::
Store
::
LOCAL
}
let
(
:job_artifact
)
{
create
(
:ci_job_artifact
,
file_store:
store
)
}
let
(
:uploader
)
{
described_class
.
new
(
job_artifact
,
:file
)
}
describe
'#open'
do
subject
{
uploader
.
open
}
context
'when trace is stored in Object storage'
do
before
do
allow
(
uploader
).
to
receive
(
:file_storage?
)
{
false
}
allow
(
uploader
).
to
receive
(
:url
)
{
'http://object_storage.com/trace'
}
end
it
'returns http io stream'
do
is_expected
.
to
be_a
(
Gitlab
::
Ci
::
Trace
::
HttpIO
)
end
end
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