Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jérome Perrin
gitlab-ce
Commits
1181cf33
Commit
1181cf33
authored
6 years ago
by
Stan Hu
Browse files
Options
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
)
...
...
This diff is collapsed.
Click to expand it.
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
...
...
This diff is collapsed.
Click to expand it.
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