debian-mirror-gitlab/spec/requests/groups/uploads_controller_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
439 B
Ruby
Raw Normal View History

2023-07-09 08:55:56 +05:30
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Groups::UploadsController, feature_category: :shared do
include WorkhorseHelpers
it_behaves_like 'uploads actions' do
let_it_be(:model) { create(:group, :public) }
let_it_be(:upload) { create(:upload, :namespace_upload, :with_file, model: model) }
let(:show_path) { show_group_uploads_path(model, upload.secret, File.basename(upload.path)) }
end
end