blob: 03b53143c84da01c970ee80b0329b830e2e581e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Projects::UploadsController, feature_category: :shared do
include WorkhorseHelpers
it_behaves_like 'uploads actions' do
let_it_be(:model) { create(:project, :public) }
let_it_be(:upload) { create(:upload, :issuable_upload, :with_file, model: model) }
let(:show_path) { show_project_uploads_path(model, upload.secret, File.basename(upload.path)) }
end
end
|