Commit 1181cf33 authored by Stan Hu's avatar Stan Hu

Fix minor spec review comments in uploader specs

parent ad1241b6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment