Fix minor spec review comments in uploader specs
This commit is contained in:
parent
ad1241b6b7
commit
1181cf336f
2 changed files with 4 additions and 4 deletions
|
@ -59,7 +59,7 @@ describe Gitlab::Gfm::UploadsRewriter do
|
|||
include_examples "files are accessible"
|
||||
end
|
||||
|
||||
context "files are store remotely" do
|
||||
context "files are stored remotely" do
|
||||
before do
|
||||
stub_uploads_object_storage(FileUploader)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue