diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-14 15:08:53 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-14 15:08:53 +0300 |
commit | 7a124e225ea58c2a432dd29f82ba682963886383 (patch) | |
tree | 4ad5eefec173bdc56aaacc81e4dfb66a8fb9e254 /spec/uploaders/metric_image_uploader_spec.rb | |
parent | 067b3d04573d1473dbc6c81ef775d70c6636ff3f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/uploaders/metric_image_uploader_spec.rb')
-rw-r--r-- | spec/uploaders/metric_image_uploader_spec.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/uploaders/metric_image_uploader_spec.rb b/spec/uploaders/metric_image_uploader_spec.rb new file mode 100644 index 00000000000..f714724480c --- /dev/null +++ b/spec/uploaders/metric_image_uploader_spec.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe MetricImageUploader do + describe '.workhorse_local_upload_path' do + it 'returns path that includes uploads dir' do + expect(described_class.workhorse_local_upload_path).to end_with('/uploads/tmp/uploads') + end + end +end |