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 ...@@ -59,7 +59,7 @@ describe Gitlab::Gfm::UploadsRewriter do
include_examples "files are accessible" include_examples "files are accessible"
end end
context "files are store remotely" do context "files are stored remotely" do
before do before do
stub_uploads_object_storage(FileUploader) stub_uploads_object_storage(FileUploader)
......
...@@ -105,12 +105,12 @@ describe FileUploader do ...@@ -105,12 +105,12 @@ describe FileUploader do
end end
end end
context 'files are store locally' do context 'files are stored locally' do
include_examples 'returns a valid uploader'
before do before do
subject.store!(fixture_file_upload('spec/fixtures/dk.png')) subject.store!(fixture_file_upload('spec/fixtures/dk.png'))
end end
include_examples 'returns a valid uploader'
end end
context 'files are stored remotely' do 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