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
Léo-Paul Géneau
gitlab-ce
Commits
1181cf33
Commit
1181cf33
authored
Jul 03, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix minor spec review comments in uploader specs
parent
ad1241b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
spec/lib/gitlab/gfm/uploads_rewriter_spec.rb
spec/lib/gitlab/gfm/uploads_rewriter_spec.rb
+1
-1
spec/uploaders/file_uploader_spec.rb
spec/uploaders/file_uploader_spec.rb
+3
-3
No files found.
spec/lib/gitlab/gfm/uploads_rewriter_spec.rb
View file @
1181cf33
...
...
@@ -59,7 +59,7 @@ describe Gitlab::Gfm::UploadsRewriter do
include_examples
"files are accessible"
end
context
"files are store remotely"
do
context
"files are store
d
remotely"
do
before
do
stub_uploads_object_storage
(
FileUploader
)
...
...
spec/uploaders/file_uploader_spec.rb
View file @
1181cf33
...
...
@@ -105,12 +105,12 @@ describe FileUploader do
end
end
context
'files are store locally'
do
include_examples
'returns a valid uploader'
context
'files are stored locally'
do
before
do
subject
.
store!
(
fixture_file_upload
(
'spec/fixtures/dk.png'
))
end
include_examples
'returns a valid uploader'
end
context
'files are stored remotely'
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